mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
fix: use self failure for consistency
Signed-off-by: GreyXor <greyxor@protonmail.com>
This commit is contained in:
parent
91464caa39
commit
94e1e8f964
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class FixCalendarSyncCommand extends Command {
|
|||
$user = $this->userManager->get($userArg);
|
||||
if ($user === null) {
|
||||
$output->writeln("<error>User $userArg does not exist</error>");
|
||||
return 1;
|
||||
return self::FAILURE;
|
||||
}
|
||||
|
||||
$this->fixUserCalendars($user);
|
||||
|
|
|
|||
Loading…
Reference in a new issue