From c6ad9462afd21d6682bff8ab261d1824693e5618 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 12 Apr 2012 17:18:45 -0400 Subject: [PATCH] CC-3634: Media Folder: if file was deleted from file system, and the file was scheduled in the future, it wasn't getting deleted from Airtime - fixed a bug --- airtime_mvc/application/models/StoredFile.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/airtime_mvc/application/models/StoredFile.php b/airtime_mvc/application/models/StoredFile.php index 531b172ab..e8ceba602 100644 --- a/airtime_mvc/application/models/StoredFile.php +++ b/airtime_mvc/application/models/StoredFile.php @@ -321,9 +321,6 @@ class Application_Model_StoredFile { // set file_exists falg to false $this->_file->setDbFileExists(false); $this->_file->save(); - - // delete entries in cc_schedule which has file_id as this file - Application_Model_Schedule::deleteWithFileId(self::getId()); } /**