aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-08-02 21:28:04 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-08-02 21:28:04 +0200
commit010c4e0b833409e233b60c2a833485d2f1a34989 (patch)
tree9b89bc729a7a368c25990f7efdb28b98ab69e887
parent58f369d0290feed5c2bc026b22e9ce74d8e85c09 (diff)
downloadnextcloud-server-010c4e0b833409e233b60c2a833485d2f1a34989.tar.gz
nextcloud-server-010c4e0b833409e233b60c2a833485d2f1a34989.zip
remove cli check
-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;