X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FConsole%2FGlobalCommunityBlock.php;h=59a5d9cfdc1ce99daa23eb813e940c62de14b5de;hb=46294d27ee65c6916ea3a5bd8e9ef7aee9cd16e4;hp=5fcc6be160acaf1686bf9987593efd3c4e95663d;hpb=3985a4bc43cb923ed0348a0881d5aa11a13d70ef;p=friendica.git diff --git a/src/Core/Console/GlobalCommunityBlock.php b/src/Core/Console/GlobalCommunityBlock.php index 5fcc6be160..59a5d9cfdc 100644 --- a/src/Core/Console/GlobalCommunityBlock.php +++ b/src/Core/Console/GlobalCommunityBlock.php @@ -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'); }