]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove cli check
authorThomas Müller <thomas.mueller@tmit.eu>
Fri, 2 Aug 2013 19:28:04 +0000 (21:28 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Fri, 2 Aug 2013 19:28:04 +0000 (21:28 +0200)
apps/files/console/scan.php

index b9eccfb9934bd39a9e0ae1bde6896f28aca52052..70183fc888af90e21b912de1b85927afe866f031 100644 (file)
@@ -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;