[Fusionforge-commits] r11608 - branches/Branch_5_1/src/common/include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Nov 24 18:48:07 CET 2010


Author: aljeux
Date: 2010-11-24 18:48:07 +0100 (Wed, 24 Nov 2010)
New Revision: 11608

Modified:
   branches/Branch_5_1/src/common/include/Group.class.php
Log:
No &

Modified: branches/Branch_5_1/src/common/include/Group.class.php
===================================================================
--- branches/Branch_5_1/src/common/include/Group.class.php	2010-11-23 20:51:35 UTC (rev 11607)
+++ branches/Branch_5_1/src/common/include/Group.class.php	2010-11-24 17:48:07 UTC (rev 11608)
@@ -1525,7 +1525,7 @@
 		//
 		//	Delete news
 		//
-		$news_group=&group_get_object(forge_get_config('news_group'));
+		$news_group=group_get_object(forge_get_config('news_group'));
 		$res = db_query_params ('SELECT forum_id FROM news_bytes WHERE group_id=$1',
 					array ($this->getID())) ;
 		if (!$res) {
@@ -2941,7 +2941,7 @@
  *
  */
 function group_getname ($group_id = 0) {
-	$grp = &group_get_object($group_id);
+	$grp = group_get_object($group_id);
 	if ($grp) {
 		return $grp->getPublicName();
 	} else {
@@ -2957,7 +2957,7 @@
  *
  */
 function group_getunixname ($group_id) {
-	$grp = &group_get_object($group_id);
+	$grp = group_get_object($group_id);
 	if ($grp) {
 		return $grp->getUnixName();
 	} else {
@@ -2973,7 +2973,7 @@
  *
  */
 function &group_get_result($group_id=0) {
-	$grp = &group_get_object($group_id);
+	$grp = group_get_object($group_id);
 	if ($grp) {
 		return $grp->getData();
 	} else {




More information about the Fusionforge-commits mailing list