Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Mar 20, 2024
1 parent d727b1f commit 8aa1118
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions plugin/AVideoPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@

class AVideoPlugin
{
static $uid;
public static function YPTstart($uid = '')
{
global $global;
self::$uid = $uid;
$time = microtime();
$time = explode(' ', $time);
$time = $time[1] + $time[0];
Expand All @@ -17,9 +15,6 @@ public static function YPTstart($uid = '')
public static function YPTend($pluginName, $timeLimit = 0, $uid = '')
{
global $global;
if(empty($uid)){
$uid = self::$uid;
}
require_once $global['systemRootPath'] . 'objects/user.php';
$time = microtime();
$time = explode(' ', $time);
Expand Down Expand Up @@ -677,7 +672,7 @@ public static function getNetflixActionButton($videos_id)
if (is_object($p)) {
$str .= $p->getNetflixActionButton($videos_id);
}
self::YPTend("{$value['dirName']}::" . __FUNCTION__, 0.2);
self::YPTend("{$value['dirName']}::" . __FUNCTION__, 0.1);
}
return $str;
}
Expand Down

0 comments on commit 8aa1118

Please sign in to comment.