[Fusionforge-commits] r17845 - in trunk/src: common/include common/pm plugins/admssw/include plugins/admssw/www plugins/soapadmin/www/coreapi www/export www/pm/msproject

Marc-Etienne VARGENAU vargenau at fusionforge.org
Thu Aug 29 17:54:12 CEST 2013


Author: vargenau
Date: 2013-08-29 17:54:12 +0200 (Thu, 29 Aug 2013)
New Revision: 17845

Modified:
   trunk/src/common/include/Navigation.class.php
   trunk/src/common/pm/ProjectTask.class.php
   trunk/src/common/pm/import_utils.php
   trunk/src/plugins/admssw/include/admsswPlugin.class.php
   trunk/src/plugins/admssw/www/projectturtle.php
   trunk/src/plugins/soapadmin/www/coreapi/coreapiservice.php
   trunk/src/www/export/rssAboTask.php
   trunk/src/www/pm/msproject/msp.php
Log:
No & needed

Modified: trunk/src/common/include/Navigation.class.php
===================================================================
--- trunk/src/common/include/Navigation.class.php	2013-08-29 14:18:45 UTC (rev 17844)
+++ trunk/src/common/include/Navigation.class.php	2013-08-29 15:54:12 UTC (rev 17845)
@@ -312,7 +312,7 @@
 			if (is_int($project) && $project == 0) {
 				if (preg_match('/root=/',$request_uri)) {
 					$project_name = preg_replace('/.*?root=/', '', $request_uri);
-					$project =& group_get_object_by_name($project_name);
+					$project = group_get_object_by_name($project_name);
 				}
 			}
 			if ($project && is_object($project)) {

Modified: trunk/src/common/pm/ProjectTask.class.php
===================================================================
--- trunk/src/common/pm/ProjectTask.class.php	2013-08-29 14:18:45 UTC (rev 17844)
+++ trunk/src/common/pm/ProjectTask.class.php	2013-08-29 15:54:12 UTC (rev 17845)
@@ -44,7 +44,7 @@
 				$data = db_fetch_array($res);
 
 			}
-			$ProjectGroup =& projectgroup_get_object($data["group_project_id"]);
+			$ProjectGroup = projectgroup_get_object($data["group_project_id"]);
 			$PROJECTTASK_OBJ["_".$project_task_id."_"]= new ProjectTask($ProjectGroup,$project_task_id,$data);
 
 		}

Modified: trunk/src/common/pm/import_utils.php
===================================================================
--- trunk/src/common/pm/import_utils.php	2013-08-29 14:18:45 UTC (rev 17844)
+++ trunk/src/common/pm/import_utils.php	2013-08-29 15:54:12 UTC (rev 17845)
@@ -53,7 +53,7 @@
 	printr($tasks,'MSPCheckin::in-array');
 	printr(getenv('TZ'),'MSPCheckin::entry TZ');
 
-	$pg =& projectgroup_get_object($group_project_id);
+	$pg = projectgroup_get_object($group_project_id);
 	if (!$pg || !is_object($pg)) {
 		$array['success']=false;
 		$array['errormessage']='Could Not Get ProjectGroup';

Modified: trunk/src/plugins/admssw/include/admsswPlugin.class.php
===================================================================
--- trunk/src/plugins/admssw/include/admsswPlugin.class.php	2013-08-29 14:18:45 UTC (rev 17844)
+++ trunk/src/plugins/admssw/include/admsswPlugin.class.php	2013-08-29 15:54:12 UTC (rev 17845)
@@ -854,7 +854,7 @@
 	 */
 	private function addProjectFrsResourcesToGraph(&$graph, $group_id, $release_id = false) {
 		
-		$group = &group_get_object($group_id);
+		$group = group_get_object($group_id);
 		
 		// if we are passed a release ID, then only process that particular release
 		if($release_id) {
@@ -972,7 +972,6 @@
 	}
 }
 
-
 // Local Variables:
 // mode: php
 // c-file-style: "bsd"

Modified: trunk/src/plugins/admssw/www/projectturtle.php
===================================================================
--- trunk/src/plugins/admssw/www/projectturtle.php	2013-08-29 14:18:45 UTC (rev 17844)
+++ trunk/src/plugins/admssw/www/projectturtle.php	2013-08-29 15:54:12 UTC (rev 17845)
@@ -38,7 +38,7 @@
 
 session_require_perm ('project_read', $group_id) ;
 
-$group = &group_get_object($group_id);
+$group = group_get_object($group_id);
 $projectname = $group->getUnixName();
 
 site_project_header(array('title'=>_('ADMS.SW project meta-data preview'), 'h1' => '', 'group'=>$group_id, 'toptab' => 'home', 'pagename'=>'projectturtle'));
@@ -58,5 +58,3 @@
 // mode: php
 // c-file-style: "bsd"
 // End:
-
-?>
\ No newline at end of file

Modified: trunk/src/plugins/soapadmin/www/coreapi/coreapiservice.php
===================================================================
--- trunk/src/plugins/soapadmin/www/coreapi/coreapiservice.php	2013-08-29 14:18:45 UTC (rev 17844)
+++ trunk/src/plugins/soapadmin/www/coreapi/coreapiservice.php	2013-08-29 15:54:12 UTC (rev 17845)
@@ -265,7 +265,7 @@
 			// Invalid parameters => return a soap fault
 			return new SoapFault($e->getCode(),$e->getMessage());
 		}
-		$grps =& group_get_objects_by_name($group_names);
+		$grps = group_get_objects_by_name($group_names);
 		if (!$grps) {
 			return new SoapFault('2002','Could Not Get Groups by Name');
 		}

Modified: trunk/src/www/export/rssAboTask.php
===================================================================
--- trunk/src/www/export/rssAboTask.php	2013-08-29 14:18:45 UTC (rev 17844)
+++ trunk/src/www/export/rssAboTask.php	2013-08-29 15:54:12 UTC (rev 17845)
@@ -65,7 +65,7 @@
 	exit_error('Error',$objGroup->getErrorMessage());
 }
 
-$objProjectGroup = &projectgroup_get_object($group_project_id);
+$objProjectGroup = projectgroup_get_object($group_project_id);
 if(!$objProjectGroup || !is_object($objProjectGroup)) {
 	exit_error('Error',_('No project group was found for this task.'));
 }

Modified: trunk/src/www/pm/msproject/msp.php
===================================================================
--- trunk/src/www/pm/msproject/msp.php	2013-08-29 14:18:45 UTC (rev 17844)
+++ trunk/src/www/pm/msproject/msp.php	2013-08-29 15:54:12 UTC (rev 17845)
@@ -105,7 +105,7 @@
 		$array['success']=false;
 		$array['errormessage']='Could Not Continue Session';
 	}
-	$pg =& projectgroup_get_object($group_project_id);
+	$pg = projectgroup_get_object($group_project_id);
 	if (!$pg || !is_object($pg)) {
 		$array['success']=false;
 		$array['errormessage']='Could Not Get ProjectGroup';




More information about the Fusionforge-commits mailing list