[Fusionforge-commits] FusionForge branch master updated. f0736d28130eb11e9126e2c7da8cb505c5df89a9

Alain Peyrat aljeux at fusionforge.org
Wed Oct 24 09:39:36 CEST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  f0736d28130eb11e9126e2c7da8cb505c5df89a9 (commit)
      from  6a42ca2880910265095a45afb3e23b0247e37428 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f0736d28130eb11e9126e2c7da8cb505c5df89a9
Author: Alain Peyrat <alain.peyrat at alcatel-lucent.com>
Date:   Wed Oct 24 09:39:24 2012 +0200

    SOAP fixes

diff --git a/src/www/soap/tracker/tracker.php b/src/www/soap/tracker/tracker.php
index 720a6a8..1bb67fc 100644
--- a/src/www/soap/tracker/tracker.php
+++ b/src/www/soap/tracker/tracker.php
@@ -330,7 +330,7 @@ function artifactFileDelete($session_ser,$group_id,$group_artifact_id,$artifact_
 	} elseif ($a->isError()) {
 		return new soap_fault ('','artifactFileDelete','$a->getErrorMessage()',$a->getErrorMessage());
 	}
-	if (!$a->delete()) {
+	if (!$a->delete(true)) {
 		return new soap_fault ('','artifactFileDelete','$a->getErrorMessage()',$a->getErrorMessage());
 	} else {
 		return true;
@@ -1127,7 +1127,7 @@ function artifact_history_to_soap($db_result, &$artifactType) {
 			$old_value = $artifactType->getStatusName($old_value);
 		} elseif ($field_name == 'assigned_to') {
 			$old_value =  user_getname($old_value);
-		} elseif ($field == 'close_date') {
+		} elseif ($field_name == 'close_date') {
 			$old_value =  date(_('Y-m-d H:i'), $old_value);
 		}
 

-----------------------------------------------------------------------

Summary of changes:
 src/www/soap/tracker/tracker.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list