From f9b28353815c1bd4500081713eaa80462c4d4276 Mon Sep 17 00:00:00 2001 From: Phie Date: Sat, 2 May 2020 00:30:52 +0200 Subject: fix writeln not defined --- lib/Misc/Search.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Misc/Search.php b/lib/Misc/Search.php index 92dc080..018f112 100644 --- a/lib/Misc/Search.php +++ b/lib/Misc/Search.php @@ -71,9 +71,7 @@ public function startSearch($query, $from) { private function searchInCache($query){ $cache = new CacheManager($this->db, $this->CarnetFolder); $metadataFromCache = $cache->search($query); - foreach($metadataFromCache as $path => $mTime){ - $this->output->writeln('found in '.$path); - + foreach($metadataFromCache as $path => $mTime){ $file = array(); $file['name'] = "none"; $file['path'] = $path; -- cgit v1.2.3