mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
Update
This commit is contained in:
parent
14c6c501e2
commit
e0f693fdd1
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue