]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/NewPassword.php
Rework App modes
[friendica.git] / src / Core / Console / NewPassword.php
index e5f93491905b80fa5f19e95f8f171a771216c9d3..003597472716c990e1fab7560623ddbf39060e74 100644 (file)
@@ -58,7 +58,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');
                }