]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/Maintenance.php
Rework App modes
[friendica.git] / src / Core / Console / Maintenance.php
index 68d33337abaef3e8ea19ad35360984a918d725f4..90449c47879b6cafb014433d9371e26412691ddf 100644 (file)
@@ -64,7 +64,7 @@ HELP;
                        throw new \Asika\SimpleConsole\CommandArgsException('Too many arguments');
                }
 
-               if ($a->mode == \Friendica\App::MODE_INSTALL) {
+               if ($a->isInstallMode()) {
                        throw new \RuntimeException('Database isn\'t ready or populated yet');
                }