summaryrefslogtreecommitdiffstats
path: root/lib/private/search/provider/file.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-06-06 01:17:02 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-06-06 01:17:02 +0200
commitaaf0d131718dc9079a5b3717276455f8701feeea (patch)
treeca915a5012b5d107d8d201d25a365a312e71a095 /lib/private/search/provider/file.php
parent5034bd1b129b75e7b571cb0ed239d02010c806f7 (diff)
downloadnextcloud-server-aaf0d131718dc9079a5b3717276455f8701feeea.tar.gz
nextcloud-server-aaf0d131718dc9079a5b3717276455f8701feeea.zip
make search non-static, add ISearch to server container, make legacy a static wrapper for it, move provider and result to public api
Diffstat (limited to 'lib/private/search/provider/file.php')
-rw-r--r--lib/private/search/provider/file.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/search/provider/file.php b/lib/private/search/provider/file.php
index daf73cf79c2..cbd3a253732 100644
--- a/lib/private/search/provider/file.php
+++ b/lib/private/search/provider/file.php
@@ -23,12 +23,12 @@ use OC\Files\Filesystem;
/**
* Provide search results from the 'files' app
*/
-class File extends \OC\Search\Provider {
+class File extends \OCP\Search\Provider {
/**
* Search for files and folders matching the given query
* @param string $query
- * @return \OC\Search\Result
+ * @return \OCP\Search\Result
*/
function search($query) {
$files = Filesystem::search($query);