From d1c53981eb9d426d853d2bb909dc472f75cae68e Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 9 Nov 2020 09:52:23 +0100 Subject: Update comment search to initFS Signed-off-by: Roeland Jago Douma --- lib/private/Search/Provider/File.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/private/Search/Provider') diff --git a/lib/private/Search/Provider/File.php b/lib/private/Search/Provider/File.php index e2ae328b1d3..b4e35d374ca 100644 --- a/lib/private/Search/Provider/File.php +++ b/lib/private/Search/Provider/File.php @@ -44,6 +44,7 @@ class File extends \OCP\Search\Provider { * @deprecated 20.0.0 */ public function search($query) { + \OC_Util::setupFS(); $files = Filesystem::search($query); $results = []; // edit results -- cgit v1.2.3