changed deletion by the user to be setting the file to be hidden instead

This commit is contained in:
Rudi Grinberg 2012-11-03 01:33:13 -04:00
parent 9c4f2e3298
commit 7e03333496
2 changed files with 2 additions and 2 deletions
airtime_mvc/application/models

View File

@ -449,7 +449,7 @@ SQL;
{
$files = $this->_dir->getCcFiless();
foreach ($files as $file) {
$file->setExists(false);
$file->setDbHidden(false);
}
}
}

View File

@ -363,7 +363,7 @@ SQL;
Application_Model_Playlist::DeleteFileFromAllPlaylists($this->getId());
}
// set file_exists falg to false
$this->_file->setDbFileExists(false);
$this->_file->setDbHidden(true);
$this->_file->save();
}