[Fusionforge-commits] FusionForge branch Branch_5_1 updated. fb04b1f94a24220fa430914efec2e4b1639e303e

Julien HEYMAN jheyman at fusionforge.org
Wed Aug 7 15:31:29 CEST 2013


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, Branch_5_1 has been updated
       via  fb04b1f94a24220fa430914efec2e4b1639e303e (commit)
      from  45504fb308617a9797c74223adfda29fc7c3670d (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 fb04b1f94a24220fa430914efec2e4b1639e303e
Author: Julien HEYMAN <julien.heyman at atos.net>
Date:   Wed Aug 7 15:31:18 2013 +0200

    Fix cache when group is approved

diff --git a/src/common/include/Group.class.php b/src/common/include/Group.class.php
index 14165e5..6691056 100644
--- a/src/common/include/Group.class.php
+++ b/src/common/include/Group.class.php
@@ -2648,6 +2648,8 @@ class Group extends Error {
 		}
 
 		$this->normalizeAllRoles () ;
+		// empty members cache because the group creator is not yet in cache.
+		unset($this->membersArr);
 		$this->activateUsers();
 
 		// Delete fake join request

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

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


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list