]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add missing return
authorJoas Schilling <coding@schilljs.com>
Fri, 26 Jun 2020 13:25:33 +0000 (15:25 +0200)
committerJoas Schilling <coding@schilljs.com>
Fri, 26 Jun 2020 13:25:33 +0000 (15:25 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/files_versions/lib/Command/ExpireVersions.php

index e3b444e8f462d66375921ac0b0d806039f2371f4..81da8fda03d21be4fb04a41deaf72eb5d7d8f2ce 100644 (file)
@@ -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');