[Fusionforge-commits] r11684 - in branches/Branch_5_1: plugins/coclico/soapadmin/include plugins/old/webcalendar/common plugins/templates/helloworld/include plugins/templates/scmcpold/common src/common/include src/plugins/aselectextauth/include src/plugins/blocks/common src/plugins/contribtracker/common src/plugins/cvssyncmail/common src/plugins/cvstracker/common src/plugins/extratabs/common src/plugins/fckeditor/common src/plugins/forumml/include src/plugins/globalsearch/common src/plugins/hudson/include src/plugins/ldapextauth/include src/plugins/mailman/include src/plugins/mantis/include src/plugins/mantisbt/common src/plugins/mediawiki/common src/plugins/online_help/common src/plugins/oslc/include src/plugins/projectlabels/common src/plugins/projects_hierarchy/common src/plugins/quota_management/common src/plugins/scmccase/common src/plugins/svncommitemail/common src/plugins/svntracker/common

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Dec 1 15:51:42 CET 2010


Author: lolando
Date: 2010-12-01 15:51:42 +0100 (Wed, 01 Dec 2010)
New Revision: 11684

Modified:
   branches/Branch_5_1/plugins/coclico/soapadmin/include/soapadminPlugin.class.php
   branches/Branch_5_1/plugins/old/webcalendar/common/webcalendarPlugin.class.php
   branches/Branch_5_1/plugins/templates/helloworld/include/helloworldPlugin.class.php
   branches/Branch_5_1/plugins/templates/scmcpold/common/CpoldPlugin.class.php
   branches/Branch_5_1/src/common/include/Plugin.class.php
   branches/Branch_5_1/src/common/include/SCMPlugin.class.php
   branches/Branch_5_1/src/plugins/aselectextauth/include/ASelectAuthPlugin.class.php
   branches/Branch_5_1/src/plugins/blocks/common/blocksPlugin.class.php
   branches/Branch_5_1/src/plugins/contribtracker/common/ContribTrackerPlugin.class.php
   branches/Branch_5_1/src/plugins/cvssyncmail/common/CVSSyncMailPlugin.class.php
   branches/Branch_5_1/src/plugins/cvstracker/common/cvstrackerPlugin.class.php
   branches/Branch_5_1/src/plugins/extratabs/common/ExtraTabsPlugin.class.php
   branches/Branch_5_1/src/plugins/fckeditor/common/fckeditorPlugin.class.php
   branches/Branch_5_1/src/plugins/forumml/include/forummlPlugin.class.php
   branches/Branch_5_1/src/plugins/globalsearch/common/GlobalsearchPlugin.class.php
   branches/Branch_5_1/src/plugins/hudson/include/hudsonPlugin.class.php
   branches/Branch_5_1/src/plugins/ldapextauth/include/LdapExtAuthPlugin.class.php
   branches/Branch_5_1/src/plugins/mailman/include/mailmanPlugin.class.php
   branches/Branch_5_1/src/plugins/mantis/include/MantisPlugin.class.php
   branches/Branch_5_1/src/plugins/mantisbt/common/MantisBTPlugin.class.php
   branches/Branch_5_1/src/plugins/mediawiki/common/MediaWikiPlugin.class.php
   branches/Branch_5_1/src/plugins/online_help/common/online_helpPlugin.class.php
   branches/Branch_5_1/src/plugins/oslc/include/oslcPlugin.class.php
   branches/Branch_5_1/src/plugins/projectlabels/common/ProjectLabelsPlugin.class.php
   branches/Branch_5_1/src/plugins/projects_hierarchy/common/projects_hierarchyPlugin.class.php
   branches/Branch_5_1/src/plugins/quota_management/common/quota_managementPlugin.class.php
   branches/Branch_5_1/src/plugins/scmccase/common/CCasePlugin.class.php
   branches/Branch_5_1/src/plugins/svncommitemail/common/SVNCommitEmailPlugin.class.php
   branches/Branch_5_1/src/plugins/svntracker/common/svntrackerPlugin.class.php
Log:
CallHook needs to accept parameters array as reference, so plugin_hook_by_reference can work

Modified: branches/Branch_5_1/plugins/coclico/soapadmin/include/soapadminPlugin.class.php
===================================================================
--- branches/Branch_5_1/plugins/coclico/soapadmin/include/soapadminPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/plugins/coclico/soapadmin/include/soapadminPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -36,7 +36,7 @@
 		$this->_addHook("project_admin_plugins"); // to show up in the admin page fro group
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $use_soapadminplugin,$G_SESSION,$HTML;
 		if ($hookname == "usermenu") {
 			$text = $this->text; // this is what shows in the tab

Modified: branches/Branch_5_1/plugins/old/webcalendar/common/webcalendarPlugin.class.php
===================================================================
--- branches/Branch_5_1/plugins/old/webcalendar/common/webcalendarPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/plugins/old/webcalendar/common/webcalendarPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -57,7 +57,7 @@
 		$this->hooks[] = "list_roles_by_permission";
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $use_webcalendarplugin,$G_SESSION,$HTML;
 		if ($hookname == "usermenu") {
 			$text = $this->text; // this is what shows in the tab

Modified: branches/Branch_5_1/plugins/templates/helloworld/include/helloworldPlugin.class.php
===================================================================
--- branches/Branch_5_1/plugins/templates/helloworld/include/helloworldPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/plugins/templates/helloworld/include/helloworldPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -36,7 +36,7 @@
 		$this->_addHook("project_admin_plugins"); // to show up in the admin page fro group
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $use_helloworldplugin,$G_SESSION,$HTML;
 		if ($hookname == "usermenu") {
 			$text = $this->text; // this is what shows in the tab

Modified: branches/Branch_5_1/plugins/templates/scmcpold/common/CpoldPlugin.class.php
===================================================================
--- branches/Branch_5_1/plugins/templates/scmcpold/common/CpoldPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/plugins/templates/scmcpold/common/CpoldPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -42,7 +42,7 @@
 		$this->register () ;
 	}
 	
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $HTML;
 		
 		switch ($hookname) {

Modified: branches/Branch_5_1/src/common/include/Plugin.class.php
===================================================================
--- branches/Branch_5_1/src/common/include/Plugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/common/include/Plugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -103,7 +103,7 @@
 	 * @param hookname - the "handle" of the hook
 	 * @param params - array of parameters to pass the hook
 	 */
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		return true ; 
 	}
 

Modified: branches/Branch_5_1/src/common/include/SCMPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/common/include/SCMPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/common/include/SCMPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -44,7 +44,7 @@
 		# scm_update_repolist
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $HTML ;
 		
 		switch ($hookname) {

Modified: branches/Branch_5_1/src/plugins/aselectextauth/include/ASelectAuthPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/aselectextauth/include/ASelectAuthPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/aselectextauth/include/ASelectAuthPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -29,7 +29,7 @@
 		$this->hooks[] = "session_set_entry";	
 	}
 	
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $HTML ;
 		
 		switch ($hookname) {

Modified: branches/Branch_5_1/src/plugins/blocks/common/blocksPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/blocks/common/blocksPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/blocks/common/blocksPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -57,7 +57,7 @@
 		$this->hooks[] = "blocks"; // to show up in the admin page fro group
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		if ($hookname == "project_admin_plugins") {
 			// this displays the link in the project admin options page to it's  blocks administration
 			$group_id = $params['group_id'];

Modified: branches/Branch_5_1/src/plugins/contribtracker/common/ContribTrackerPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/contribtracker/common/ContribTrackerPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/contribtracker/common/ContribTrackerPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -35,7 +35,7 @@
                 $this->hooks[] = "site_admin_option_hook"; // to show in the site admin page
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		if ($hookname == "groupmenu") {
 			$group_id=$params['group'];
 			$project = &group_get_object($group_id);

Modified: branches/Branch_5_1/src/plugins/cvssyncmail/common/CVSSyncMailPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/cvssyncmail/common/CVSSyncMailPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/cvssyncmail/common/CVSSyncMailPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -31,7 +31,7 @@
 		$this->hooks[] = "groupisactivecheckboxpost" ; //
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $use_cvssyncmailplugin,$G_SESSION,$HTML;
 		$group_id=$params['group'];
 		if ($hookname == "groupisactivecheckbox") {

Modified: branches/Branch_5_1/src/plugins/cvstracker/common/cvstrackerPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/cvstracker/common/cvstrackerPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/cvstracker/common/cvstrackerPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -258,7 +258,7 @@
 	* @param    String  $params    The params of the Hook
 	*
 	*/
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $group_id, $G_SESSION, $HTML, $use_cvstrackerplugin,$aid ;
 		$use_cvstrackerplugin = getIntFromRequest('use_cvstrackerplugin');
 		if ($hookname == "groupisactivecheckbox") {

Modified: branches/Branch_5_1/src/plugins/extratabs/common/ExtraTabsPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/extratabs/common/ExtraTabsPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/extratabs/common/ExtraTabsPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -33,7 +33,7 @@
 		$this->hooks[] = "groupmenu" ;  // To put into the project tabs
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $HTML;
 		
 		if ($hookname == "project_admin_plugins") {

Modified: branches/Branch_5_1/src/plugins/fckeditor/common/fckeditorPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/fckeditor/common/fckeditorPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/fckeditor/common/fckeditorPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -45,7 +45,7 @@
 	* @param    String  $params    The params of the Hook
 	*
 	*/
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $group_id;
 
 		if (file_exists ("/usr/share/fckeditor/fckeditor.php")) {

Modified: branches/Branch_5_1/src/plugins/forumml/include/forummlPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/forumml/include/forummlPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/forumml/include/forummlPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -48,7 +48,7 @@
 		$this->allowedForProject = array();
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $use_mailmanplugin,$G_SESSION,$HTML,$gfcommon,$gfwww,$gfplugins;
 		if ($hookname == "usermenu") {
 			$text = $this->text; // this is what shows in the tab

Modified: branches/Branch_5_1/src/plugins/globalsearch/common/GlobalsearchPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/globalsearch/common/GlobalsearchPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/globalsearch/common/GlobalsearchPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -31,7 +31,7 @@
 		$this->hooks[] = "features_boxes_top" ;
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $Language, $G_SESSION, $HTML, $group_id;
 
 		if ($hookname == "site_admin_option_hook") {

Modified: branches/Branch_5_1/src/plugins/hudson/include/hudsonPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/hudson/include/hudsonPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/hudson/include/hudsonPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -38,7 +38,7 @@
 		$this->_addHook('get_available_reference_natures', 'getAvailableReferenceNatures', false);
 		$this->_addHook('ajax_reference_tooltip', 'ajax_reference_tooltip', false);
 	}
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $use_hudsonplugin,$G_SESSION,$HTML,$gfcommon,$gfwww,$gfplugins;
 		if ($hookname == "usermenu") {
 			$text = $this->text; // this is what shows in the tab

Modified: branches/Branch_5_1/src/plugins/ldapextauth/include/LdapExtAuthPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/ldapextauth/include/LdapExtAuthPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/ldapextauth/include/LdapExtAuthPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -70,7 +70,7 @@
 		}
 	}
 	
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $HTML ;
 		
 		$loginname = $params['loginname'] ;

Modified: branches/Branch_5_1/src/plugins/mailman/include/mailmanPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/mailman/include/mailmanPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/mailman/include/mailmanPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -70,7 +70,7 @@
 		return $this->pluginInfo;
 	}
 	
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $use_mailmanplugin,$G_SESSION,$HTML,$gfcommon,$gfwww,$gfplugins;
 		if ($hookname == "usermenu") {
 			$text = $this->text; // this is what shows in the tab

Modified: branches/Branch_5_1/src/plugins/mantis/include/MantisPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/mantis/include/MantisPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/mantis/include/MantisPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -42,7 +42,7 @@
 		$this->hooks[] = "project_admin_plugins"; // to show up in the admin page fro group
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $use_mantisplugin,$G_SESSION,$HTML;
 		if ($hookname == "usermenu") {
 			$text = $this->text; // this is what shows in the tab

Modified: branches/Branch_5_1/src/plugins/mantisbt/common/MantisBTPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/mantisbt/common/MantisBTPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/mantisbt/common/MantisBTPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -46,7 +46,7 @@
 		$this->hooks[] = "group_update";
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $use_mantisbtplugin,$G_SESSION,$HTML;
 		switch ($hookname) {
 			case "usermenu":

Modified: branches/Branch_5_1/src/plugins/mediawiki/common/MediaWikiPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/mediawiki/common/MediaWikiPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/mediawiki/common/MediaWikiPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -51,7 +51,7 @@
 		$this->hooks[] = "project_admin_plugins"; // to show up in the admin page for group
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		if (isset($params['group_id'])) {
 			$group_id=$params['group_id'];
 		} elseif (isset($params['group'])) {

Modified: branches/Branch_5_1/src/plugins/online_help/common/online_helpPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/online_help/common/online_helpPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/online_help/common/online_helpPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -37,7 +37,7 @@
 		$this->hooks[] = "headermenu"; // to show up in the admin page fro group
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $G_SESSION,$HTML;
 		if ($hookname == "headermenu") {
 			$guide = util_make_url('/plugins/online_help/');

Modified: branches/Branch_5_1/src/plugins/oslc/include/oslcPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/oslc/include/oslcPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/oslc/include/oslcPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -36,7 +36,7 @@
 		$this->_addHook("project_admin_plugins"); // to show up in the admin page fro group
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $use_oslcplugin,$G_SESSION,$HTML;
 		if ($hookname == "usermenu") {
 			$text = $this->text; // this is what shows in the tab

Modified: branches/Branch_5_1/src/plugins/projectlabels/common/ProjectLabelsPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/projectlabels/common/ProjectLabelsPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/projectlabels/common/ProjectLabelsPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -9,7 +9,7 @@
 		$this->hooks[] = "site_admin_option_hook" ;
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $HTML;
 		
 		if ($hookname == "site_admin_option_hook") {

Modified: branches/Branch_5_1/src/plugins/projects_hierarchy/common/projects_hierarchyPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/projects_hierarchy/common/projects_hierarchyPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/projects_hierarchy/common/projects_hierarchyPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -42,7 +42,7 @@
 		$this->hooks[] = "delete_link"; // to delete link
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $use_projects_hierarchyplugin,$G_SESSION,$HTML;
 		if ($hookname == "usermenu") {
 			$text = $this->text; // this is what shows in the tab

Modified: branches/Branch_5_1/src/plugins/quota_management/common/quota_managementPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/quota_management/common/quota_managementPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/quota_management/common/quota_managementPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -39,7 +39,7 @@
 		$this->hooks[] = "quota_link_project_admin"; // to show in admin project
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $use_quota_managementplugin,$G_SESSION,$HTML;
 		if ($hookname == "usermenu") {
 			$text = $this->text; // this is what shows in the tab

Modified: branches/Branch_5_1/src/plugins/scmccase/common/CCasePlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/scmccase/common/CCasePlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/scmccase/common/CCasePlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -42,7 +42,7 @@
 		$this->register () ;
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $HTML ;
 		
 		switch ($hookname) {

Modified: branches/Branch_5_1/src/plugins/svncommitemail/common/SVNCommitEmailPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/svncommitemail/common/SVNCommitEmailPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/svncommitemail/common/SVNCommitEmailPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -31,7 +31,7 @@
 		$this->hooks[] = "groupisactivecheckboxpost" ; //
 	}
 
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $use_svncommitemailplugin,$G_SESSION,$HTML;
 		$group_id=$params['group'];
 		if ($hookname == "groupisactivecheckbox") {

Modified: branches/Branch_5_1/src/plugins/svntracker/common/svntrackerPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/svntracker/common/svntrackerPlugin.class.php	2010-12-01 14:50:34 UTC (rev 11683)
+++ branches/Branch_5_1/src/plugins/svntracker/common/svntrackerPlugin.class.php	2010-12-01 14:51:42 UTC (rev 11684)
@@ -226,7 +226,7 @@
 	* @param    String  $params    The params of the Hook
 	*
 	*/
-	function CallHook ($hookname, $params) {
+	function CallHook ($hookname, &$params) {
 		global $group_id, $G_SESSION, $HTML, $use_svntrackerplugin,$aid ;
 		if ($hookname == "groupisactivecheckbox") {
 			//Check if the group is active




More information about the Fusionforge-commits mailing list