uninstall

This commit is contained in:
root
2024-09-20 16:31:03 +02:00
parent ddce8190a0
commit 760430a211

View File

@@ -255,6 +255,19 @@ switch ($_GET["op"]) {
} }
echo $text; echo $text;
break; break;
case "uninstall":
if ($key=check_uninstall()) {
$text="Uninstall process has already started.<br>Please wait and do not start a new one...";
}
else {
$text="Uninstall in progress... Please wait...";
$arr = array("NAME" => $_GET["additional"], "ACTION" => "uninstall");
$json = json_encode($arr, JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT);
$op = "uninstall";
redis_set($op,$json);
}
echo $text;
break;
case "repositories": case "repositories":
$arr = array("STATUS" => 0); $arr = array("STATUS" => 0);
$json = json_encode($arr, JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT); $json = json_encode($arr, JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT);