[Fusionforge-commits] r10687 - trunk/src/plugins/wiki/common

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Sat Sep 25 16:08:12 CEST 2010


Author: nerville
Date: 2010-09-25 16:08:11 +0200 (Sat, 25 Sep 2010)
New Revision: 10687

Modified:
   trunk/src/plugins/wiki/common/WikiPlugin.class.php
   trunk/src/plugins/wiki/common/WikiSearchEngine.class.php
Log:
basic fix to be able to enable/disable wiki plugin

Modified: trunk/src/plugins/wiki/common/WikiPlugin.class.php
===================================================================
--- trunk/src/plugins/wiki/common/WikiPlugin.class.php	2010-09-25 10:47:22 UTC (rev 10686)
+++ trunk/src/plugins/wiki/common/WikiPlugin.class.php	2010-09-25 14:08:11 UTC (rev 10687)
@@ -40,7 +40,7 @@
 		$this->hooks[] = 'activity';
 	}
 
-	function CallHook ($hookname, & $params) {
+	function CallHook ($hookname, $params) {
 		global $G_SESSION,$HTML;
 		if (is_array($params) && isset($params['group']))
 			$group_id=$params['group'];

Modified: trunk/src/plugins/wiki/common/WikiSearchEngine.class.php
===================================================================
--- trunk/src/plugins/wiki/common/WikiSearchEngine.class.php	2010-09-25 10:47:22 UTC (rev 10686)
+++ trunk/src/plugins/wiki/common/WikiSearchEngine.class.php	2010-09-25 14:08:11 UTC (rev 10687)
@@ -22,9 +22,9 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-require_once $GLOBALS['gfwww'].'search/include/engines/GroupSearchEngine.class.php';
+require_once $GLOBALS['gfwww'].'search/include/engines/SearchEngine.class.php';
 
-class WikiSearchEngine extends SearchEngine {
+class WikiSearchEngine extends GFSearchEngine {
 	
 	/**
 	* name of the external site




More information about the Fusionforge-commits mailing list