remove cli check

This commit is contained in:
Thomas Müller 2013-08-02 21:28:04 +02:00
parent 58f369d029
commit 010c4e0b83
1 changed files with 0 additions and 4 deletions

View File

@ -1,9 +1,5 @@
<?php <?php
if (!OC::$CLI) {
echo "This script can be run from the command line only\n";
return;
}
if (count($argv) !== 2) { if (count($argv) !== 2) {
echo "Usage:" . PHP_EOL; echo "Usage:" . PHP_EOL;
echo " files:scan <user_id>" . PHP_EOL; echo " files:scan <user_id>" . PHP_EOL;