Removed unused global variable

This commit is contained in:
Rudi Grinberg 2012-09-11 16:15:15 -04:00
parent d95731f2f3
commit 51d4f35c55

View file

@ -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);
}