diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-06-06 13:24:16 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-06-06 13:24:16 +0200 |
commit | 5cebb6fb9b541efa26fa5a06fdd2cc589bb70932 (patch) | |
tree | 82c386063ebe22f7382f0bea9b10c3c589c0664a /apps/files/appinfo | |
parent | 204eb256f39e2aaedd0b416f25573a9abb822eac (diff) | |
parent | 7c29645f22eeb686ce7a25c9f8ad97b464d7febb (diff) | |
download | nextcloud-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.php | 2 |
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'); |