mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
do not record if is rebroadcasting
This commit is contained in:
parent
06fa3284c8
commit
a8893a5513
7 changed files with 75 additions and 46 deletions
|
@ -821,9 +821,9 @@ 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', 'ads_app_bundle');
|
||||
$cacheParameters = array('noRelated', 'APIName', 'catName', 'rowCount', 'APISecret', 'sort', 'searchPhrase', 'current', 'tags_id', 'channelName', 'videoType', 'is_serie', 'user', 'videos_id', 'playlist');
|
||||
|
||||
$cacheVars = array('users_id' => User::getId());
|
||||
$cacheVars = array('users_id' => User::getId(), 'requestUniqueString'=>getRequestUniqueString());
|
||||
foreach ($cacheParameters as $value) {
|
||||
$cacheVars[$value] = @$_REQUEST[$value];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue