mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-12 03:13:45 +02:00
Fix server deletion logic, and clean up suspend/unsuspend operations
This commit is contained in:
@@ -367,7 +367,7 @@ class ServersController extends Controller
|
||||
}
|
||||
|
||||
try {
|
||||
$repo->$action($id);
|
||||
$repo->toggleAccess($id, ($action === 'unsuspend'));
|
||||
|
||||
Alert::success('Server has been ' . $action . 'ed.');
|
||||
} catch (TransferException $ex) {
|
||||
|
||||
Reference in New Issue
Block a user