]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/GlobalCommunitySilence.php
Rework App modes
[friendica.git] / src / Core / Console / GlobalCommunitySilence.php
index a70888e4542baebc15aab2ac1676bf743cf8b42e..ccd6014e9c727bfbd7f9731d7d0723c445b6c557 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');
                }