diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-26 15:25:33 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-26 15:25:33 +0200 |
commit | 3e0cfa6c320701976cd41954498ba26fc5ccf43d (patch) | |
tree | 2346481fbfbc3757c2b56b0b2d2e2141ed35f353 /apps/files_versions/lib/Command | |
parent | d7c0b9cced2dff16e4e05507ac58cf8664a6aafc (diff) | |
download | nextcloud-server-3e0cfa6c320701976cd41954498ba26fc5ccf43d.tar.gz nextcloud-server-3e0cfa6c320701976cd41954498ba26fc5ccf43d.zip |
Add missing return
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_versions/lib/Command')
-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'); |