[Fusionforge-commits] FusionForge branch Branch_5_2 updated. 63e4148ec6d26ff9b5c8c7906d1ddd9a52df215b

Julien HEYMAN jheyman at fusionforge.org
Wed Aug 7 15:29:06 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_2 has been updated
       via  63e4148ec6d26ff9b5c8c7906d1ddd9a52df215b (commit)
      from  d6951a97b52c5f7580a2f5da7d8ca6d1ddeb2804 (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 63e4148ec6d26ff9b5c8c7906d1ddd9a52df215b
Author: Julien HEYMAN <julien.heyman at atos.net>
Date:   Wed Aug 7 15:26:34 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 21e2817..df97b6f 100644
--- a/src/common/include/Group.class.php
+++ b/src/common/include/Group.class.php
@@ -2423,6 +2423,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