X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FConsole%2FNewPassword.php;h=54d10af2077768edf4735a787efd3175ab6b9ef9;hb=a8d3a4d218b9c844b7a5d4134fb7f27d64be559d;hp=56f3ae7c98eb9757032b95ee88d50043e1759d3f;hpb=58c6ef2bc0fdf7ca7210e98fd21a1b08c08ed409;p=friendica.git diff --git a/src/Core/Console/NewPassword.php b/src/Core/Console/NewPassword.php index 56f3ae7c98..54d10af207 100644 --- a/src/Core/Console/NewPassword.php +++ b/src/Core/Console/NewPassword.php @@ -57,7 +57,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'); }