mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
0462e5f704
commit
c874437e15
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue