Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-26 16:25:33 +0300
committerJoas Schilling <coding@schilljs.com>2020-06-26 16:25:33 +0300
commit3e0cfa6c320701976cd41954498ba26fc5ccf43d (patch)
tree2346481fbfbc3757c2b56b0b2d2e2141ed35f353 /apps/files_versions
parentd7c0b9cced2dff16e4e05507ac58cf8664a6aafc (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.php2
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');