X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/592c24c61edb8e50a5056f5ac265052b5c99d81b..2b59f9d35c81a9d25e87a4d9c48ee1097756a3bb:/appinfo/app.php?ds=inline 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'); ?>