1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 02:09:22 +02:00

better debug

This commit is contained in:
Daniel 2022-03-17 14:19:15 -03:00
parent 6a36055473
commit c40e27bf9f

View file

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