1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00
Daniel Neto 2025-01-07 12:16:54 -03:00
parent 5872e23562
commit 19c5111170
2 changed files with 29 additions and 4 deletions

View file

@ -2571,11 +2571,12 @@ if (typeof gtag !== \"function\") {
public static function canCreateMeet()
{
global $global, $config;
if (self::isLogged() && !empty($_SESSION['user']['canCreateMeet'])) {
return true;
$p = AVideoPlugin::isEnabledByName('Meet');
if(empty($p)){
return false;
}
return self::isAdmin();
return Meet::canCreateMeet();
}
public static function canComment()