]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/GlobalCommunityBlock.php
Rework App modes
[friendica.git] / src / Core / Console / GlobalCommunityBlock.php
index 5fcc6be160acaf1686bf9987593efd3c4e95663d..59a5d9cfdc1ce99daa23eb813e940c62de14b5de 100644 (file)
@@ -56,7 +56,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');
                }