mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 02:09:22 +02:00
better debug
This commit is contained in:
parent
6a36055473
commit
c40e27bf9f
1 changed files with 5 additions and 0 deletions
|
@ -6840,6 +6840,10 @@ function deleteStatsNotifications() {
|
|||
}
|
||||
|
||||
function getStatsNotifications($force_recreate = false, $listItIfIsAdminOrOwner = true) {
|
||||
global $__getStatsNotifications__;
|
||||
if(!empty($__getStatsNotifications__)){
|
||||
return $__getStatsNotifications__;
|
||||
}
|
||||
$cacheName = "getStats" . DIRECTORY_SEPARATOR . "getStatsNotifications";
|
||||
unset($_POST['sort']);
|
||||
if ($force_recreate) {
|
||||
|
@ -6931,6 +6935,7 @@ function getStatsNotifications($force_recreate = false, $listItIfIsAdminOrOwner
|
|||
}
|
||||
|
||||
$json['countLiveStream'] = count($json['applications']);
|
||||
$__getStatsNotifications__ = $json;
|
||||
return $json;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue