summaryrefslogtreecommitdiffstats
path: root/lib/private/Search/Provider
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-11-09 09:52:23 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2020-11-09 09:52:23 +0100
commitd1c53981eb9d426d853d2bb909dc472f75cae68e (patch)
tree5f9230a37ea63a5b572125bc81573fe8fce68047 /lib/private/Search/Provider
parent05d332666476bec488989d39ef87e593eea02872 (diff)
downloadnextcloud-server-d1c53981eb9d426d853d2bb909dc472f75cae68e.tar.gz
nextcloud-server-d1c53981eb9d426d853d2bb909dc472f75cae68e.zip
Update comment search to initFS
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Search/Provider')
-rw-r--r--lib/private/Search/Provider/File.php1
1 files changed, 1 insertions, 0 deletions
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