From 51d4f35c55404e58335254042d8f54fece6ebba0 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Tue, 11 Sep 2012 16:15:15 -0400 Subject: [PATCH] Removed unused global variable --- 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 3d1956b8c..92eecca8f 100644 --- a/airtime_mvc/application/models/StoredFile.php +++ b/airtime_mvc/application/models/StoredFile.php @@ -1024,11 +1024,8 @@ class Application_Model_StoredFile public static function getFileCount() { - global $CC_CONFIG; $con = Propel::getConnection(); - $sql = "SELECT count(*) as cnt FROM cc_files WHERE file_exists"; - return $con->query($sql)->fetchColumn(0); }