diff options
author | Phie <phie@phie.ovh> | 2020-05-02 01:30:52 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2020-05-02 01:30:52 +0300 |
commit | f9b28353815c1bd4500081713eaa80462c4d4276 (patch) | |
tree | 18c89d7cb60908e6633558f36a82316658899a06 | |
parent | beebfc01af6343575ff64b8d442d891cd307bee9 (diff) |
fix writeln not defined
-rw-r--r-- | lib/Misc/Search.php | 4 |
1 files changed, 1 insertions, 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; |