summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-06-06 13:24:16 +0200
committerVincent Petry <pvince81@owncloud.com>2014-06-06 13:24:16 +0200
commit5cebb6fb9b541efa26fa5a06fdd2cc589bb70932 (patch)
tree82c386063ebe22f7382f0bea9b10c3c589c0664a /apps/files/appinfo
parent204eb256f39e2aaedd0b416f25573a9abb822eac (diff)
parent7c29645f22eeb686ce7a25c9f8ad97b464d7febb (diff)
downloadnextcloud-server-5cebb6fb9b541efa26fa5a06fdd2cc589bb70932.tar.gz
nextcloud-server-5cebb6fb9b541efa26fa5a06fdd2cc589bb70932.zip
Merge pull request #4553 from owncloud/update_search_classes
Update search classes
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r--apps/files/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/appinfo/app.php b/apps/files/appinfo/app.php
index 43e6cffa335..9af36c682fd 100644
--- a/apps/files/appinfo/app.php
+++ b/apps/files/appinfo/app.php
@@ -10,7 +10,7 @@ OCP\App::addNavigationEntry(array("id" => "files_index",
"icon" => OCP\Util::imagePath("core", "places/files.svg"),
"name" => $l->t("Files")));
-OC_Search::registerProvider('OC_Search_Provider_File');
+\OC::$server->getSearch()->registerProvider('OC\Search\Provider\File');
$templateManager = OC_Helper::getFileTemplateManager();
$templateManager->registerTemplate('text/html', 'core/templates/filetemplates/template.html');