remove cli check
This commit is contained in:
parent
58f369d029
commit
010c4e0b83
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue