CC-5853: Tracks marked as 'hidden' won't be marked as unavailable in Now Playing page

This commit is contained in:
drigato 2014-05-22 14:47:14 -04:00
parent 08badfb421
commit 8432799b9a
1 changed files with 2 additions and 1 deletions

View File

@ -403,7 +403,8 @@ SQL;
Logging::info("User ".$user->getLogin()." is deleting file: ".$this->_file->getDbTrackTitle()." - file id: ".$this->_file->getDbId());
// set hidden flag to true
$this->_file->setDbHidden(true);
//$this->_file->setDbHidden(true);
$this->_file->setDbFileExists(false);
$this->_file->save();
// need to explicitly update any playlist's and block's length