remove cli check

remotes/origin/stable6
Thomas Müller 12 years ago
parent 58f369d029
commit 010c4e0b83
  1. 4
      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;

Loading…
Cancel
Save