Document type of user project.

This commit is contained in:
Andreas Fischer 2014-05-28 22:48:35 +02:00
parent 52e7bf9630
commit 8981929e92
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ class ResetPassword extends Command {
protected function execute(InputInterface $input, OutputInterface $output) {
$username = $input->getArgument('user');
/** @var $user \OC\User\User */
$user = $this->userManager->get($username);
if (is_null($user)) {
$output->writeln("<error>There is no user called " . $username . "</error>");