]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/GlobalCommunityBlock.php
AutoInstall Test fix
[friendica.git] / src / Core / Console / GlobalCommunityBlock.php
index dbab4ff02c4dca1beeb9b0cab0690ac63d575d4a..2a19a9e7f3f0343a3b79da58ec189e65b0dbb0c3 100644 (file)
@@ -56,7 +56,7 @@ HELP;
                        throw new \Asika\SimpleConsole\CommandArgsException('Too many arguments');
                }
 
-               if (App\Mode::isInstall()) {
+               if ($a->getMode()->isInstall()) {
                        throw new \RuntimeException('Database isn\'t ready or populated yet');
                }