aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/search/provider/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/search/provider/file.php')
-rw-r--r--lib/private/search/provider/file.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/search/provider/file.php b/lib/private/search/provider/file.php
index 26ebe309951..daf73cf79c2 100644
--- a/lib/private/search/provider/file.php
+++ b/lib/private/search/provider/file.php
@@ -18,6 +18,7 @@
*/
namespace OC\Search\Provider;
+use OC\Files\Filesystem;
/**
* Provide search results from the 'files' app
@@ -30,7 +31,7 @@ class File extends \OC\Search\Provider {
* @return \OC\Search\Result
*/
function search($query) {
- $files = \OC\Files\Filesystem::search($query);
+ $files = Filesystem::search($query);
$results = array();
// edit results
foreach ($files as $fileData) {