diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-26 16:25:33 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-26 16:25:33 +0300 |
commit | 3e0cfa6c320701976cd41954498ba26fc5ccf43d (patch) | |
tree | 2346481fbfbc3757c2b56b0b2d2e2141ed35f353 /apps/files_versions | |
parent | d7c0b9cced2dff16e4e05507ac58cf8664a6aafc (diff) |
Add missing return
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/lib/Command/ExpireVersions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/Command/ExpireVersions.php b/apps/files_versions/lib/Command/ExpireVersions.php index e3b444e8f46..81da8fda03d 100644 --- a/apps/files_versions/lib/Command/ExpireVersions.php +++ b/apps/files_versions/lib/Command/ExpireVersions.php @@ -74,7 +74,7 @@ class ExpireVersions extends Command { $maxAge = $this->expiration->getMaxAgeAsTimestamp(); if (!$maxAge) { $output->writeln("No expiry configured."); - return; + return 1; } $users = $input->getArgument('user_id'); |