Remove suspended & installing fields, replace with single status field

This commit is contained in:
Dane Everitt
2021-01-17 15:51:56 -08:00
parent 4c29be2e54
commit a75a347d65
24 changed files with 115 additions and 59 deletions

View File

@@ -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.'
);