aboutsummaryrefslogtreecommitdiff
path: root/appinfo
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2015-07-15 20:23:11 +0200
committerChristian Weiske <cweiske@cweiske.de>2015-07-15 20:23:11 +0200
commitd776c4c77ddb59cb571f23bf4ef042bd0a246751 (patch)
treea6bade87af127f5e54eff8c79a384f4613309816 /appinfo
parent592c24c61edb8e50a5056f5ac265052b5c99d81b (diff)
downloadgrauphel-d776c4c77ddb59cb571f23bf4ef042bd0a246751.tar.gz
grauphel-d776c4c77ddb59cb571f23bf4ef042bd0a246751.zip
make search work in ownCloud 8.1
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');
?>