diff options
author | Phie <phie@phie.ovh> | 2019-03-12 16:32:25 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2019-03-12 16:32:25 +0300 |
commit | 0ebca94af9bd747f2cbb577264d2fcde69aae9f1 (patch) | |
tree | 183b602c51654bcab139bd06c096505989bcb576 | |
parent | 270d7a40cf336a47d6490ca529c4e371c8a4c413 (diff) |
completely disabling itv0.13.7
-rw-r--r-- | appinfo/app.php | 4 | ||||
-rwxr-xr-x | lib/Controller/NoteController.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index b81fb5f..d1228b2 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -47,7 +47,7 @@ class Application extends App { private function connectWatcher(IAppContainer $container) { /** @var IRootFolder $root */ - $root = $container->query(IRootFolder::class); + /*$root = $container->query(IRootFolder::class); $root->listen('\OC\Files', 'postWrite', function (Node $node) use ($container) { $c = $container->query('ServerContainer'); $user = $c->getUserSession()->getUser(); @@ -55,7 +55,7 @@ class Application extends App { $watcher = new FSHooks($c->getUserFolder(), $user->getUID(), $c->getConfig(), 'carnet',$container->query(IDBConnection::class)); $watcher->postWrite($node); } - }); + });*/ } } $app = new Application(); diff --git a/lib/Controller/NoteController.php b/lib/Controller/NoteController.php index b93ba04..ed4ea0b 100755 --- a/lib/Controller/NoteController.php +++ b/lib/Controller/NoteController.php @@ -460,7 +460,7 @@ try{ $meta = $utils->getMetadata($this->CarnetFolder, $path); $array[$path] = $meta; - $cache->addToCache($path, $meta, $meta['lastmodfile']); + //$cache->addToCache($path, $meta, $meta['lastmodfile']); } catch(\PhpZip\Exception\ZipException $e){ } |