[Fusionforge-commits] r14057 - branches/Branch_5_1/src/plugins/hudson/include

Roland Mas lolando at fusionforge.org
Wed Aug 3 11:52:01 CEST 2011


Author: lolando
Date: 2011-08-03 11:52:01 +0200 (Wed, 03 Aug 2011)
New Revision: 14057

Modified:
   branches/Branch_5_1/src/plugins/hudson/include/hudsonPlugin.class.php
Log:
Actually, there's no reason the hudson plugin shouldn't be available if scmsvn isn't used

Modified: branches/Branch_5_1/src/plugins/hudson/include/hudsonPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/hudson/include/hudsonPlugin.class.php	2011-08-03 09:33:59 UTC (rev 14056)
+++ branches/Branch_5_1/src/plugins/hudson/include/hudsonPlugin.class.php	2011-08-03 09:52:01 UTC (rev 14057)
@@ -38,7 +38,7 @@
 		$this->_addHook('ajax_reference_tooltip', 'ajax_reference_tooltip', false);
 	}
 	function CallHook ($hookname, &$params) {
-		global $use_hudsonplugin,$G_SESSION,$HTML,$gfcommon,$gfwww,$gfplugins;
+		global $G_SESSION,$HTML;
 		if ($hookname == "usermenu") {
 			$text = $this->text; // this is what shows in the tab
 			if ($G_SESSION->usesPlugin("hudson")) {
@@ -82,14 +82,7 @@
 
 		}	
 	}
-
-	function groupisactivecheckbox (&$params) {
-		$group = group_get_object($params['group']);
-		if ($group->usesPlugin($this->name)) {
-			parent::groupisactivecheckbox($params);
-		}
-	}
-
+	
 	function &getPluginInfo() {
 		if (!is_a($this->pluginInfo, 'hudsonPluginInfo')) {
 			require_once('hudsonPluginInfo.class.php');




More information about the Fusionforge-commits mailing list