diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-01-07 12:21:28 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2015-01-07 12:21:28 +0100 |
commit | ae9c9a46b8f11a0f548dfbbc23d3c215910130aa (patch) | |
tree | 251521ee2b16e8cf13cc8d488b3dd975601e02c2 /core/register_command.php | |
parent | b9235e2a24ada2bf69fc23cd83405661bde7f0da (diff) | |
download | nextcloud-server-ae9c9a46b8f11a0f548dfbbc23d3c215910130aa.tar.gz nextcloud-server-ae9c9a46b8f11a0f548dfbbc23d3c215910130aa.zip |
inject and use user manager to delete command instead of using old static oc_user way
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 690e9879c47..5aa55be3e2c 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -22,6 +22,6 @@ $application->add(new OC\Core\Command\Maintenance\Repair($repair, \OC::$server-> $application->add(new OC\Core\Command\User\Report()); $application->add(new OC\Core\Command\User\ResetPassword(\OC::$server->getUserManager())); $application->add(new OC\Core\Command\User\LastSeen()); -$application->add(new OC\Core\Command\User\Delete()); +$application->add(new OC\Core\Command\User\Delete(\OC::$server->getUserManager())); $application->add(new OC\Core\Command\L10n\CreateJs()); |