mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Remove suspended & installing fields, replace with single status field
This commit is contained in:
@@ -29,7 +29,7 @@ class ServerInstalled
|
||||
);
|
||||
}
|
||||
|
||||
if ($server->installed !== 1) {
|
||||
if (! $server->isInstalled()) {
|
||||
throw new HttpException(
|
||||
Response::HTTP_FORBIDDEN, 'Access to this resource is not allowed due to the current installation state.'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user