projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f773efb
)
Hook to be able to load new search engine
author
Alain Peyrat
<aljeux@free.fr>
Mon, 23 Feb 2009 21:24:44 +0000
(21:24 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Mon, 23 Feb 2009 21:24:44 +0000
(21:24 +0000)
Author: Gonéri Le Bouder <goneri@rulezlan.org>
gforge/www/search/include/SearchManager.class.php
patch
|
blob
|
history
diff --git
a/gforge/www/search/include/SearchManager.class.php
b/gforge/www/search/include/SearchManager.class.php
index 18faad6b1dbdb7f139a32e40d756795c205b959c..ce849cebab63f917fafb657f5ae4b9d045cd4d30 100644
(file)
--- a/
gforge/www/search/include/SearchManager.class.php
+++ b/
gforge/www/search/include/SearchManager.class.php
@@
-121,6
+121,9
@@
class SearchManager {
SEARCH__TYPE_IS_NEWS,
new NewsGroupSearchEngine()
);
+
+ # Hook to be able to load new search engine
+ plugin_hook_by_reference('group_search_engines', $this);
// Global search engine
$this->addSearchEngine(