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
path: root/lib/Hooks
diff options
context:
space:
mode:
authorPhie <phie@phie.ovh>2020-09-17 23:57:44 +0300
committerPhie <phie@phie.ovh>2020-09-17 23:57:44 +0300
commit519ab28c3f1adc0b9ac803fa837110f9d173e979 (patch)
treedeae62aca14e575a7fd71ca10deac97b520bf7ae /lib/Hooks
parentfff7a76818ce6b990ae088ead349d7a2af715d39 (diff)
index low case text for faster search
Diffstat (limited to 'lib/Hooks')
-rw-r--r--lib/Hooks/FSHooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Hooks/FSHooks.php b/lib/Hooks/FSHooks.php
index d2b1f90..b7a2251 100644
--- a/lib/Hooks/FSHooks.php
+++ b/lib/Hooks/FSHooks.php
@@ -82,7 +82,7 @@ class FSHooks {
$cacheManager = new CacheManager($this->db, $this->carnetFolder);
$utils = new NoteUtils();
$metadata = $utils->getMetadata($this->carnetFolder, $relativePath);
- $cacheManager->addToCache($relativePath, $metadata, $metadata['lastmodfile']);
+ $cacheManager->addToCache($relativePath, $metadata, $metadata['lastmodfile'], $metadata['text']);
} catch(\PhpZip\Exception\ZipException $e){
}