CC-5853: Tracks marked as 'hidden' won't be marked as unavailable in Now Playing page
This commit is contained in:
parent
08badfb421
commit
8432799b9a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue