CC-3569: Update total track metric to only report tracks that exist
- fixed
This commit is contained in:
parent
6943120fc6
commit
4cb64b0eb1
1 changed files with 1 additions and 1 deletions
|
@ -835,7 +835,7 @@ Logging::log("getting media! - 2");
|
|||
public static function getFileCount()
|
||||
{
|
||||
global $CC_CONFIG, $CC_DBC;
|
||||
$sql = "SELECT count(*) as cnt FROM ".$CC_CONFIG["filesTable"];
|
||||
$sql = "SELECT count(*) as cnt FROM ".$CC_CONFIG["filesTable"]." WHERE file_exists";
|
||||
return $CC_DBC->GetOne($sql);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue