From d776c4c77ddb59cb571f23bf4ef042bd0a246751 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 15 Jul 2015 20:23:11 +0200 Subject: make search work in ownCloud 8.1 --- appinfo/app.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'appinfo') diff --git a/appinfo/app.php b/appinfo/app.php index d78a9bb..afbc787 100755 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -8,6 +8,10 @@ 'name' => 'Tomboy notes' ) ); -\OC_Search::registerProvider('OCA\Grauphel\Search\Provider'); + +\OC::$server->getSearch()->registerProvider( + 'OCA\Grauphel\Search\Provider', array('apps' => array('grauphel')) +); + \OCP\Util::addscript('grauphel', 'loader'); ?> -- cgit v1.2.3