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