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) { } catch (Exception $e) {
//could throw a scheduled in future exception. //could throw a scheduled in future exception.
$message = "Could not delete some scheduled files."; $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 * @param string $p_fileId
*/ */
public function IsFileScheduledInTheFuture($p_fileId) public static function IsFileScheduledInTheFuture($p_fileId)
{ {
global $CC_CONFIG;
$sql = <<<SQL $sql = <<<SQL
SELECT COUNT(*) SELECT COUNT(*)
FROM cc_schedule FROM cc_schedule