aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/Command/CleanUp.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versions/lib/Command/CleanUp.php')
-rw-r--r--apps/files_versions/lib/Command/CleanUp.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_versions/lib/Command/CleanUp.php b/apps/files_versions/lib/Command/CleanUp.php
index bf6dc6a7687..e8c46afef16 100644
--- a/apps/files_versions/lib/Command/CleanUp.php
+++ b/apps/files_versions/lib/Command/CleanUp.php
@@ -1,4 +1,5 @@
<?php
+
/**
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
@@ -49,7 +50,7 @@ class CleanUp extends Command {
$path = $input->getOption('path');
if ($path) {
if (!preg_match('#^/([^/]+)/files(/.*)?$#', $path, $pathMatches)) {
- $output->writeln("<error>Invalid path given</error>");
+ $output->writeln('<error>Invalid path given</error>');
return self::FAILURE;
}