Remove special None handling and video

This commit is contained in:
emeric
2018-02-10 16:30:19 +01:00
parent 5cc2a29b59
commit 18a446a0a2
20 changed files with 11 additions and 609 deletions
+2 -2
View File
@@ -173,9 +173,9 @@ Grabber::getFromRelease(Wt::Dbo::Session& session, Database::Release::id_type re
Wt::Dbo::Transaction transaction(session);
// If the release does not exist or is the special release "None", do nothing
// If the release does not exist, do nothing
Release::pointer release = Release::getById(session, releaseId);
if (!release || release->isNone())
if (!release)
return std::vector<Image::Image>();
std::vector<Track::pointer> tracks = release->getTracks();