1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2023-11-13 09:40:54 -03:00
parent 0462e5f704
commit c874437e15

View file

@ -38,7 +38,7 @@ if (!empty($userGroup)) {
foreach ($videos as $value) {
if($remove){
if(UserGroups::deleteVideoGroups($value['id'], $userGroup)){
if(UserGroups::deleteVideoGroups($value['id'], $userGroup, false)){
echo "Success: removed video [{$value['id']}] {$value['title']} :".PHP_EOL;
}else{
echo "**ERROR: removing video [{$value['id']}] {$value['title']} :".PHP_EOL;
@ -52,7 +52,7 @@ if (!empty($userGroup)) {
}
}
}
clearCache(true);
clearCache();
echo "Bye";
echo "\n";
die();