Update comment search to initFS

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2020-11-09 09:52:23 +01:00
parent 05d3326664
commit d1c53981eb
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 0 deletions

View File

@ -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