Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas

This commit is contained in:
Albert Santoni 2014-05-22 18:47:21 -04:00
commit 1db308330b
2 changed files with 18 additions and 2 deletions

View file

@ -403,7 +403,8 @@ SQL;
Logging::info($_SERVER["HTTP_HOST"].": 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