More logging
This commit is contained in:
parent
44b82fdd8a
commit
8f0f69abd9
|
@ -355,6 +355,7 @@ class LibraryController extends Zend_Controller_Action
|
|||
Logging::info("aaa");
|
||||
$file = Application_Model_StoredFile::RecallById($id);
|
||||
Logging::info("bbb");
|
||||
Logging::info($file);
|
||||
if (isset($file)) {
|
||||
try {
|
||||
$res = $file->delete();
|
||||
|
|
|
@ -376,6 +376,7 @@ SQL;
|
|||
*/
|
||||
public function delete()
|
||||
{
|
||||
Logging::info("111aaa");
|
||||
// Check if the file is scheduled to be played in the future
|
||||
if (Application_Model_Schedule::IsFileScheduledInTheFuture($this->getId())) {
|
||||
throw new DeleteScheduledFileException();
|
||||
|
|
Loading…
Reference in New Issue