X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FConsole%2FGlobalCommunityBlock.php;h=f51ed95fe2b4f49d93406317dca55d47c6e7eb3e;hb=9fbaaa1481a609563e00a40db64bdce5e02c5524;hp=5fcc6be160acaf1686bf9987593efd3c4e95663d;hpb=3985a4bc43cb923ed0348a0881d5aa11a13d70ef;p=friendica.git diff --git a/src/Core/Console/GlobalCommunityBlock.php b/src/Core/Console/GlobalCommunityBlock.php index 5fcc6be160..f51ed95fe2 100644 --- a/src/Core/Console/GlobalCommunityBlock.php +++ b/src/Core/Console/GlobalCommunityBlock.php @@ -13,8 +13,8 @@ use Friendica\Model\Contact; * * License: AGPLv3 or later, same as Friendica * - * @author Tobias Diekershoff - * @author Hypolite Petovan + * @author Tobias Diekershoff + * @author Hypolite Petovan */ class GlobalCommunityBlock extends \Asika\SimpleConsole\Console { @@ -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'); }