]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/NewPassword.php
Add missing L10n::popLang calls
[friendica.git] / src / Core / Console / NewPassword.php
index 2581d81cd06cd3e2da76fdc3afffa8bbe0e05201..54d10af2077768edf4735a787efd3175ab6b9ef9 100644 (file)
@@ -57,7 +57,7 @@ HELP;
                        throw new \Asika\SimpleConsole\CommandArgsException('Too many arguments');
                }
 
-               if ($a->isInstallMode()) {
+               if ($a->getMode()->isInstall()) {
                        throw new RuntimeException('Database isn\'t ready or populated yet');
                }