From 3e0cfa6c320701976cd41954498ba26fc5ccf43d Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 26 Jun 2020 15:25:33 +0200 Subject: [PATCH] Add missing return Signed-off-by: Joas Schilling --- apps/files_versions/lib/Command/ExpireVersions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.39.5