[Fusionforge-commits] r11435 - trunk/src/plugins/hudson/include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sat Nov 6 22:45:19 CET 2010


Author: aljeux
Date: 2010-11-06 22:45:18 +0100 (Sat, 06 Nov 2010)
New Revision: 11435

Modified:
   trunk/src/plugins/hudson/include/hudsonPlugin.class.php
Log:
No &

Modified: trunk/src/plugins/hudson/include/hudsonPlugin.class.php
===================================================================
--- trunk/src/plugins/hudson/include/hudsonPlugin.class.php	2010-11-06 21:45:12 UTC (rev 11434)
+++ trunk/src/plugins/hudson/include/hudsonPlugin.class.php	2010-11-06 21:45:18 UTC (rev 11435)
@@ -1,6 +1,7 @@
 <?php
 /**
  * @copyright Copyright (c) Xerox Corporation, Codendi 2007-2008.
+ * Copyright (C) 2010 Alain Peyrat - Alcatel-Lucent
  *
  * This file is licensed under the GNU General Public License version 2. See the file COPYING.
  * 
@@ -48,7 +49,7 @@
 			}
 		} elseif ($hookname == "groupmenu") {
 			$group_id=$params['group'];
-			$project = &group_get_object($group_id);
+			$project = group_get_object($group_id);
 			if (!$project || !is_object($project)) {
 				return;
 			}
@@ -178,7 +179,7 @@
 		}
 	}
 	function widgets($params) {
-		$group = &group_get_object($GLOBALS['group_id']);
+		$group = group_get_object($GLOBALS['group_id']);
 		if ( !$group || !$group->usesPlugin ( $this->name ) ) {
 			return false;
 		}




More information about the Fusionforge-commits mailing list