diff options
author | Andreas Fischer <bantu@owncloud.com> | 2014-05-28 22:42:33 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2014-05-28 22:42:33 +0200 |
commit | 52e7bf96306a048c43d77d5c3db42f89187f45ce (patch) | |
tree | 56e5caa193f7cfdf24d9b98cd7396c6e5a1b7a0b /core/register_command.php | |
parent | f216d814080f426cf092de06ddaf0ca42f4e8028 (diff) | |
download | nextcloud-server-52e7bf96306a048c43d77d5c3db42f89187f45ce.tar.gz nextcloud-server-52e7bf96306a048c43d77d5c3db42f89187f45ce.zip |
Receive \OC\User\Manager as a constructor dependency.
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php index 44d7dbccba1..e9b62508883 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -10,7 +10,7 @@ $application->add(new OC\Core\Command\Status); $application->add(new OC\Core\Command\Db\GenerateChangeScript()); $application->add(new OC\Core\Command\Upgrade()); -$application->add(new OC\Core\Command\ResetPassword()); +$application->add(new OC\Core\Command\ResetPassword(\OC::$server->getUserManager())); $application->add(new OC\Core\Command\Maintenance\SingleUser()); $application->add(new OC\Core\Command\App\Disable()); $application->add(new OC\Core\Command\App\Enable()); |