mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
parent
2b42a1ca78
commit
8ce7c8ad1c
1 changed files with 2 additions and 2 deletions
|
@ -17,13 +17,13 @@ $option = trim(readline(""));
|
|||
|
||||
exec("rm -R {$global['systemRootPath']}videos/cache/*");
|
||||
if ($option == 1) {
|
||||
$sql = "UPDATE FROM plugins ";
|
||||
$sql = "UPDATE plugins ";
|
||||
$sql .= " SET object_data = '' WHERE id > 0";
|
||||
sqlDAL::writeSql($sql);
|
||||
echo "* Reset all plugins Parameters DONE\n";
|
||||
ob_flush();
|
||||
} else if ($option == 2) {
|
||||
$sql = "UPDATE FROM plugins ";
|
||||
$sql = "UPDATE plugins ";
|
||||
$sql .= " SET object_data = '' WHERE name = 'CustomizeUser'";
|
||||
sqlDAL::writeSql($sql);
|
||||
echo "* Reset CustomizeUser Plugin Parameters only DONE\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue