Replace remaining $a->isInstallMode() instances
This commit is contained in:
@@ -56,7 +56,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');
|
||||
}
|
||||
|
||||
|
||||
@@ -65,7 +65,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');
|
||||
}
|
||||
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,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');
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ HELP;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ($a->isInstallMode()) {
|
||||
if (App\Mode::isInstall()) {
|
||||
throw new \RuntimeException('Database isn\'t ready or populated yet');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user