diff options
Diffstat (limited to 'apps/files_versions/lib/Command/ExpireVersions.php')
-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'); |