CC-4384: Remove annoying usage of $CC_CONFIG
- done
This commit is contained in:
parent
55fa8b8dc1
commit
dcf3526000
6 changed files with 17 additions and 58 deletions
|
@ -940,9 +940,8 @@ SQL;
|
|||
|
||||
public static function getBlockCount()
|
||||
{
|
||||
global $CC_CONFIG;
|
||||
$con = Propel::getConnection();
|
||||
$sql = 'SELECT count(*) as cnt FROM '.$CC_CONFIG["playListTable"];
|
||||
$sql = 'SELECT count(*) as cnt FROM cc_playlist';
|
||||
|
||||
return $con->query($sql)->fetchColumn(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue