Document type of user project.
This commit is contained in:
parent
52e7bf9630
commit
8981929e92
|
@ -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>");
|
||||
|
|
Loading…
Reference in New Issue