Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhie <phie@phie.ovh>2019-03-12 16:32:25 +0300
committerPhie <phie@phie.ovh>2019-03-12 16:32:25 +0300
commit0ebca94af9bd747f2cbb577264d2fcde69aae9f1 (patch)
tree183b602c51654bcab139bd06c096505989bcb576
parent270d7a40cf336a47d6490ca529c4e371c8a4c413 (diff)
completely disabling itv0.13.7
-rw-r--r--appinfo/app.php4
-rwxr-xr-xlib/Controller/NoteController.php2
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){
}