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:
Diffstat (limited to 'lib/Misc/CacheManager.php')
-rw-r--r--lib/Misc/CacheManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Misc/CacheManager.php b/lib/Misc/CacheManager.php
index 045421d..a619e0c 100644
--- a/lib/Misc/CacheManager.php
+++ b/lib/Misc/CacheManager.php
@@ -12,7 +12,7 @@ class CacheManager{
}
public function addToCache($relativePath, $metadata, $lastmodfile, $text){
- $this->addToCacheFullPath($this->carnetFolder->getFullPath($relativePath), $metadata, $lastmodfile, $low_case_text);
+ $this->addToCacheFullPath($this->carnetFolder->getFullPath($relativePath), $metadata, $lastmodfile, $text);
}
public function addToCacheFullPath($fullPath, $metadata, $lastmodfile, $text){
@@ -74,7 +74,7 @@ class CacheManager{
private function recursiveAddToCache($carnetFolder, $node, $cache){
if($node instanceof \OCP\Files\Folder){
foreach($node->getDirectoryListing() as $inNode){
- echo $inNode->getPath();
+ echo $inNode->getPath()."\n";
$this->recursiveAddToCache($carnetFolder, $inNode, $cache);
}
} else if(substr($node->getName(), -3) === "sqd"){