[Fusionforge-commits] FusionForge branch master updated. b9596a5c237e0a6c37a9a2ad248be391793d3d48

Franck VILLAUME nerville at fusionforge.org
Sun Feb 9 13:49:43 CET 2014


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  b9596a5c237e0a6c37a9a2ad248be391793d3d48 (commit)
      from  1601e0333ae5308836c9056969088f05cf327e1a (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 b9596a5c237e0a6c37a9a2ad248be391793d3d48
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Feb 9 13:48:29 2014 +0100

    frs: remove useless db_rollback

diff --git a/src/common/frs/include/frs_utils.php b/src/common/frs/include/frs_utils.php
index 51f0551..577efdf 100644
--- a/src/common/frs/include/frs_utils.php
+++ b/src/common/frs/include/frs_utils.php
@@ -260,7 +260,6 @@ function frs_add_file_from_form ($release, $type_id, $processor_id, $release_dat
 			exit_error($frsf->getErrorMessage(),'frs');
 		} else {
 			if (!$frsf->create($fname,$infile,$type_id,$processor_id,$release_date)) {
-				db_rollback();
 				exit_error($frsf->getErrorMessage(),'frs');
 			}
 			return true ;

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

Summary of changes:
 src/common/frs/include/frs_utils.php |    1 -
 1 file changed, 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list