Browse Source

Add missing return

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/21597/head
Joas Schilling 6 years ago
parent
commit
3e0cfa6c32
No known key found for this signature in database GPG Key ID: 7076EA9751AACDDA
  1. 2
      apps/files_versions/lib/Command/ExpireVersions.php

2
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');

Loading…
Cancel
Save