summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2014-05-28 22:53:44 +0200
committerAndreas Fischer <bantu@owncloud.com>2014-05-28 22:53:44 +0200
commitf81ee94cad8a997c3a2fef0b6aac4f8d509571f6 (patch)
tree08656d0413e965a1bed84f1f4f329a09f1522a2b /core
parent8981929e92b9dc22e6542f16dc1cbce7cc338a9f (diff)
downloadnextcloud-server-f81ee94cad8a997c3a2fef0b6aac4f8d509571f6.tar.gz
nextcloud-server-f81ee94cad8a997c3a2fef0b6aac4f8d509571f6.zip
Move resetpassword into user: command space.
Diffstat (limited to 'core')
-rw-r--r--core/command/user/resetpassword.php (renamed from core/command/resetpassword.php)4
-rw-r--r--core/register_command.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/core/command/resetpassword.php b/core/command/user/resetpassword.php
index ddff7a980d0..d7893c291e4 100644
--- a/core/command/resetpassword.php
+++ b/core/command/user/resetpassword.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-namespace OC\Core\Command;
+namespace OC\Core\Command\User;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
@@ -25,7 +25,7 @@ class ResetPassword extends Command {
protected function configure() {
$this
- ->setName('resetpassword')
+ ->setName('user:resetpassword')
->setDescription('Resets the password of the named user')
->addArgument(
'user',
diff --git a/core/register_command.php b/core/register_command.php
index e9b62508883..8efd2673afe 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -10,10 +10,10 @@
$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(\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());
$application->add(new OC\Core\Command\App\ListApps());
$application->add(new OC\Core\Command\Maintenance\Repair(new \OC\Repair()));
$application->add(new OC\Core\Command\User\Report());
+$application->add(new OC\Core\Command\User\ResetPassword(\OC::$server->getUserManager()));