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 2023-11-13 09:42:37 -03:00
parent c874437e15
commit 714a9a1820

View file

@ -35,7 +35,7 @@ if(empty($rows[$userGroup])){
if (!empty($userGroup)) {
$videos = Video::getAllVideosLight('', false, true);
mysqlBeginTransaction();
foreach ($videos as $value) {
if($remove){
if(UserGroups::deleteVideoGroups($value['id'], $userGroup, false)){
@ -51,6 +51,7 @@ if (!empty($userGroup)) {
}
}
}
mysqlCommit();
}
clearCache();
echo "Bye";