diff --git a/lib/Service/Index.php b/lib/Service/Index.php index a4e423225..d3a0d80ab 100644 --- a/lib/Service/Index.php +++ b/lib/Service/Index.php @@ -131,8 +131,9 @@ public function indexFolder(Folder $folder): void $this->log("Indexing folder {$path}", true); // Check if path is blacklisted - if (!$this->isPathAllowed($path . '/')) { + if (!$this->isPathAllowed($path.'/')) { $this->log("Skipping folder {$path} (path excluded)".PHP_EOL, true); + return; }