diff --git a/airtime_mvc/application/models/StoredFile.php b/airtime_mvc/application/models/StoredFile.php index 88bbf70c5..e30851e26 100644 --- a/airtime_mvc/application/models/StoredFile.php +++ b/airtime_mvc/application/models/StoredFile.php @@ -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