diff options
author | GreyXor <greyxor@protonmail.com> | 2025-01-15 00:22:24 +0100 |
---|---|---|
committer | GreyXor <greyxor@protonmail.com> | 2025-01-16 21:49:30 +0100 |
commit | 94e1e8f9647426272b6366b0d283efb764f3ea63 (patch) | |
tree | 4dcec899c9ad08e13cdb92c2a0df822adb2c34e8 | |
parent | 91464caa397c5ccacd3ae0d106913f51eef160b8 (diff) | |
download | nextcloud-server-94e1e8f9647426272b6366b0d283efb764f3ea63.tar.gz nextcloud-server-94e1e8f9647426272b6366b0d283efb764f3ea63.zip |
fix: use self failure for consistency
Signed-off-by: GreyXor <greyxor@protonmail.com>
-rw-r--r-- | apps/dav/lib/Command/FixCalendarSyncCommand.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Command/FixCalendarSyncCommand.php b/apps/dav/lib/Command/FixCalendarSyncCommand.php index 2611787186f..cb31355c10d 100644 --- a/apps/dav/lib/Command/FixCalendarSyncCommand.php +++ b/apps/dav/lib/Command/FixCalendarSyncCommand.php @@ -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); |