diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-10-31 17:33:33 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-12-04 13:44:30 +0100 |
commit | 7ef6df04da739af651afdcdbda6ccb095d1a90f7 (patch) | |
tree | 4bec1555ed4e340fe43bc4e51194735e123c5c5b /apps/files/triggerupdate.php | |
parent | c5ee95a49e51565a3cd9ecf3769488e19db0ec2b (diff) | |
download | nextcloud-server-7ef6df04da739af651afdcdbda6ccb095d1a90f7.tar.gz nextcloud-server-7ef6df04da739af651afdcdbda6ccb095d1a90f7.zip |
remove triggerupdate, ref #11872
Diffstat (limited to 'apps/files/triggerupdate.php')
-rw-r--r-- | apps/files/triggerupdate.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/apps/files/triggerupdate.php b/apps/files/triggerupdate.php deleted file mode 100644 index 3f85da9913b..00000000000 --- a/apps/files/triggerupdate.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -require_once __DIR__ . '/../../lib/base.php'; - -if (OC::$CLI) { - if (count($argv) === 2) { - $file = $argv[1]; - list(, $user) = explode('/', $file); - OCP\JSON::checkUserExists($user); - OC_Util::setupFS($user); - $view = new \OC\Files\View(''); - /** - * @var \OC\Files\Storage\Storage $storage - */ - list($storage, $internalPath) = $view->resolvePath($file); - $watcher = $storage->getWatcher($internalPath); - $watcher->checkUpdate($internalPath); - } else { - echo "Usage: php triggerupdate.php /path/to/file\n"; - } -} else { - echo "This script can be run from the command line only\n"; -} |