mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 15:33:44 +01:00
Fixed domain and shared hosting deletion
Fixed domain and shared hosting deletion
This commit is contained in:
parent
69d6922ff3
commit
3de0b0956c
@ -64,7 +64,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
|||||||
}
|
}
|
||||||
} elseif (isset($_POST['action']) && $_POST['action'] == 'update') {
|
} elseif (isset($_POST['action']) && $_POST['action'] == 'update') {
|
||||||
$update = new itemUpdate($_POST);
|
$update = new itemUpdate($_POST);
|
||||||
if (isset($_POST['me_delete'])) {//Delete object
|
if (isset($_POST['me_delete']) || isset($_POST['sh_me_delete']) || isset($_POST['d_me_delete'])) {//Delete object
|
||||||
$update->deleteObjectData();
|
$update->deleteObjectData();
|
||||||
} elseif ($_POST['type'] == 'server_modal_edit') {//Update the server info
|
} elseif ($_POST['type'] == 'server_modal_edit') {//Update the server info
|
||||||
$update->updateServerFromModal();
|
$update->updateServerFromModal();
|
||||||
|
Loading…
Reference in New Issue
Block a user