Replace remaining $a->isInstallMode() instances
This commit is contained in:
@@ -64,7 +64,7 @@ HELP;
|
||||
throw new \Asika\SimpleConsole\CommandArgsException('Too many arguments');
|
||||
}
|
||||
|
||||
if ($a->isInstallMode()) {
|
||||
if (App\Mode::isInstall()) {
|
||||
throw new \RuntimeException('Database isn\'t ready or populated yet');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user