aboutsummaryrefslogtreecommitdiff
path: root/appinfo
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo')
-rwxr-xr-xappinfo/app.php6
1 files changed, 5 insertions, 1 deletions
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');
?>