[Fusionforge-commits] FusionForge branch master updated. 650d7afe7863826ca51cab522687a326595f8b9b

Julien HEYMAN jheyman at fusionforge.org
Wed Aug 7 15:26:40 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, master has been updated
       via  650d7afe7863826ca51cab522687a326595f8b9b (commit)
      from  b37fddf48d1741753fa4f5ecafdfa92c92a44d89 (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 650d7afe7863826ca51cab522687a326595f8b9b
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 dca3059..b58d118 100644
--- a/src/common/include/Group.class.php
+++ b/src/common/include/Group.class.php
@@ -2477,6 +2477,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