Merge pull request #23994 from nextcloud/fix/comment_search

Update comment search to initFS
This commit is contained in:
Roeland Jago Douma 2020-11-09 15:52:01 +01:00 committed by GitHub
commit 2b7ea590e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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