diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2015-07-15 20:23:11 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2015-07-15 20:23:11 +0200 |
| commit | d776c4c77ddb59cb571f23bf4ef042bd0a246751 (patch) | |
| tree | a6bade87af127f5e54eff8c79a384f4613309816 /appinfo | |
| parent | 592c24c61edb8e50a5056f5ac265052b5c99d81b (diff) | |
| download | grauphel-d776c4c77ddb59cb571f23bf4ef042bd0a246751.tar.gz grauphel-d776c4c77ddb59cb571f23bf4ef042bd0a246751.zip | |
make search work in ownCloud 8.1
Diffstat (limited to 'appinfo')
| -rwxr-xr-x | appinfo/app.php | 6 |
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'); ?> |
