git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#37: Use public database interface; fixes graupel on ownCloud 9
[grauphel.git]
/
appinfo
/
app.php
diff --git
a/appinfo/app.php
b/appinfo/app.php
index d78a9bb2b681c6001b88fa34e229e66563c7c2d6..afbc7879f78ff9ffd9ae766ebb5395034fab9291 100755
(executable)
--- a/
appinfo/app.php
+++ b/
appinfo/app.php
@@
-8,6
+8,10
@@
'name' => 'Tomboy notes'
)
);
'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');
?>
\OCP\Util::addscript('grauphel', 'loader');
?>