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