1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-11-29 04:24:11 +01:00

make search results app specific

This commit is contained in:
Jörn Friedrich Dreyer 2014-12-02 17:58:16 +01:00
parent b08e244e25
commit c39a346f2f

View File

@ -31,4 +31,4 @@ namespace OCA\Bookmarks\AppInfo;
'name' => \OC_L10N::get('bookmarks')->t('Bookmarks')
));
\OC_Search::registerProvider('OCA\Bookmarks\Controller\Lib\Search');
\OC::$server->getSearch()->registerProvider('OCA\Bookmarks\Controller\Lib\Search', array('apps' => array('bookmarks')));