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