diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-06-06 11:02:05 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-06-06 11:02:05 +0200 |
commit | 2801f0f2228c571a0bfd9de3684f87e0fe408c57 (patch) | |
tree | a2a44fc2c67eaf6268257590212ca323e0856be8 /apps | |
parent | 56470fa9b3a03c2737aeb2c29c2cdebfcaa8a99b (diff) | |
download | nextcloud-server-2801f0f2228c571a0bfd9de3684f87e0fe408c57.tar.gz nextcloud-server-2801f0f2228c571a0bfd9de3684f87e0fe408c57.zip |
use non static access to search
Diffstat (limited to 'apps')
-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'); |