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, 6.0 has been updated
       via  f550b3852ddb33f181b7e19e915e9c1717b1e04a (commit)
      from  abbc33eb52741597b3586fbbeb5a2b1980a2fd1f (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 f550b3852ddb33f181b7e19e915e9c1717b1e04a
Author: Sylvain Beucler <[email protected]>
Date:   Wed May 27 18:14:55 2015 +0200

    reactivity: don't transactionize all steps of group configuration, 
otherwise systasksd will run on not-yet-approved project and ignore it

diff --git a/src/common/include/Group.class.php 
b/src/common/include/Group.class.php
index 5e9fc17..8927950 100644
--- a/src/common/include/Group.class.php
+++ b/src/common/include/Group.class.php
@@ -2355,6 +2355,8 @@ class Group extends Error {
                        return false;
                }
 
+               db_commit();
+
                // Switch to system language for item creation
                setup_gettext_from_sys_lang();
 
@@ -2581,8 +2583,6 @@ class Group extends Error {
                session_set_internal($saved_session->getID());
                setup_gettext_from_context();
 
-               db_commit();
-
                $this->sendApprovalEmail();
                $this->addHistory(_('Approved'), 'x');
 

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

Summary of changes:
 src/common/include/Group.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/include/Group.class.php 
b/src/common/include/Group.class.php
index 5e9fc17..8927950 100644
--- a/src/common/include/Group.class.php
+++ b/src/common/include/Group.class.php
@@ -2355,6 +2355,8 @@ class Group extends Error {
                        return false;
                }
 
+               db_commit();
+
                // Switch to system language for item creation
                setup_gettext_from_sys_lang();
 
@@ -2581,8 +2583,6 @@ class Group extends Error {
                session_set_internal($saved_session->getID());
                setup_gettext_from_context();
 
-               db_commit();
-
                $this->sendApprovalEmail();
                $this->addHistory(_('Approved'), 'x');
 


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to