1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2024-01-04 14:33:04 -03:00
parent de933fd538
commit 1e4c0a270c
3 changed files with 20 additions and 17 deletions

View file

@ -821,8 +821,7 @@ class API extends PluginAbstract
public function get_api_video($parameters)
{
$start = microtime(true);
$cacheParameters = array('noRelated', 'APIName', 'catName', 'rowCount', 'APISecret', 'sort', 'searchPhrase', 'current', 'tags_id', 'channelName', 'videoType', 'is_serie', 'user', 'videos_id', 'playlist');
$cacheParameters = array('noRelated', 'APIName', 'catName', 'rowCount', 'APISecret', 'sort', 'searchPhrase', 'current', 'tags_id', 'channelName', 'videoType', 'is_serie', 'user', 'videos_id', 'playlist', 'ads_app_bundle');
$cacheVars = array('users_id' => User::getId());
foreach ($cacheParameters as $value) {