summaryrefslogtreecommitdiffstats
path: root/apps/files/console/scan.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/console/scan.php')
-rw-r--r--apps/files/console/scan.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/files/console/scan.php b/apps/files/console/scan.php
index b9eccfb9934..70183fc888a 100644
--- a/apps/files/console/scan.php
+++ b/apps/files/console/scan.php
@@ -1,9 +1,5 @@
<?php
-if (!OC::$CLI) {
- echo "This script can be run from the command line only\n";
- return;
-}
if (count($argv) !== 2) {
echo "Usage:" . PHP_EOL;
echo " files:scan <user_id>" . PHP_EOL;