1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
Daniel Neto 2024-07-01 10:19:58 -03:00
parent 14c6c501e2
commit e0f693fdd1
2 changed files with 5 additions and 5 deletions

View file

@ -1156,7 +1156,7 @@ abstract class CacheHandler
self::$cachedResults++;
}
$_getCache[$name] = $cache;
//_error_log("getCache($suffix, $lifetime) line=".__LINE__);
_error_log("getCache($suffix, $lifetime) line=".__LINE__);
return $cache;
}

View file

@ -1276,7 +1276,7 @@ if (!class_exists('Video')) {
$sql .= " AND v.id = '$id' ";
}
$sql .= AVideoPlugin::getVideoWhereClause();
$sql .= static::getVideoQueryFileter();
$sql .= static::getVideoQueryFilter();
if (!$ignoreGroup) {
$sql .= self::getUserGroupsCanSeeSQL('v.');
}
@ -1775,7 +1775,7 @@ if (!class_exists('Video')) {
$sql .= " AND u.status = 'a' ";
}
$sql .= static::getVideoQueryFileter();
$sql .= static::getVideoQueryFilter();
if (!$ignoreGroup) {
TimeLogStart("video::getAllVideos::getAllVideosExcludeVideosIDArray");
$arrayNotIN = AVideoPlugin::getAllVideosExcludeVideosIDArray();
@ -2576,7 +2576,7 @@ if (!class_exists('Video')) {
if ($activeUsersOnly) {
$sql .= " AND u.status = 'a' ";
}
$sql .= static::getVideoQueryFileter();
$sql .= static::getVideoQueryFilter();
if (!$ignoreGroup) {
$sql .= self::getUserGroupsCanSeeSQL('v.');
}
@ -3728,7 +3728,7 @@ if (!class_exists('Video')) {
return static::getVideo("", $status, false, $excludeVideoId);
}
public static function getVideoQueryFileter()
public static function getVideoQueryFilter()
{
global $global;
$sql = '';