Made method static

This commit is contained in:
Rudi Grinberg 2012-09-13 12:33:15 -04:00
parent 9dfb762bbe
commit 8a2703c50d
2 changed files with 2 additions and 3 deletions

View File

@ -320,7 +320,7 @@ class LibraryController extends Zend_Controller_Action
} catch (Exception $e) {
//could throw a scheduled in future exception.
$message = "Could not delete some scheduled files.";
Logging::info($e);
Logging::debug($e->getMessage());
}
}
}

View File

@ -7,9 +7,8 @@ class Application_Model_Schedule
*
* @param string $p_fileId
*/
public function IsFileScheduledInTheFuture($p_fileId)
public static function IsFileScheduledInTheFuture($p_fileId)
{
global $CC_CONFIG;
$sql = <<<SQL
SELECT COUNT(*)
FROM cc_schedule