Refactor
This commit is contained in:
parent
44ef02aa17
commit
c323e578e5
1 changed files with 2 additions and 6 deletions
|
@ -62,12 +62,8 @@ if (isset($api)) {
|
|||
/**
|
||||
* Install
|
||||
*/
|
||||
if ($options) {
|
||||
try {
|
||||
$options->getOption('isInstalled');
|
||||
} catch (\Throwable $th) {
|
||||
$page = 'install';
|
||||
}
|
||||
if (!$options) {
|
||||
$page = 'install';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue