CC-1724:phone-home-statistics
Rebase from devel into this branch
This commit is contained in:
parent
11b601308e
commit
cf654f1a45
18 changed files with 656 additions and 193 deletions
|
@ -119,6 +119,12 @@ class Playlist {
|
|||
$sql = 'DELETE FROM '.$CC_CONFIG["playListTable"];
|
||||
$CC_DBC->query($sql);
|
||||
}
|
||||
|
||||
public static function getPlaylistCount(){
|
||||
global $CC_CONFIG, $CC_DBC;
|
||||
$sql = 'SELECT count(*) as cnt FROM '.$CC_CONFIG["playListTable"];
|
||||
return $CC_DBC->GetOne($sql);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete the file from all playlists.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue