aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggGroup.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-06-07 09:52:48 -0400
committerSteve Clay <steve@mrclay.org>2013-06-07 09:52:48 -0400
commit46ace645c75dbbaad4b2cdaeedffcd501487aa93 (patch)
treef723f7c443dbbbbff5c204e631e81a46fbd4f712 /engine/classes/ElggGroup.php
parente04a851de79007adfb1c2c7a81f0cece95ae6441 (diff)
downloadelgg-46ace645c75dbbaad4b2cdaeedffcd501487aa93.tar.gz
elgg-46ace645c75dbbaad4b2cdaeedffcd501487aa93.tar.bz2
Fixes #5600: Entities are kept out of entity cache during save
Diffstat (limited to 'engine/classes/ElggGroup.php')
-rw-r--r--engine/classes/ElggGroup.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/engine/classes/ElggGroup.php b/engine/classes/ElggGroup.php
index 61f9163d5..7e69b7a84 100644
--- a/engine/classes/ElggGroup.php
+++ b/engine/classes/ElggGroup.php
@@ -352,7 +352,12 @@ class ElggGroup extends ElggEntity
}
// Now save specific stuff
- return create_group_entity($this->get('guid'), $this->get('name'), $this->get('description'));
+
+ _elgg_disable_caching_for_entity($this->guid);
+ $ret = create_group_entity($this->get('guid'), $this->get('name'), $this->get('description'));
+ _elgg_enable_caching_for_entity($this->guid);
+
+ return $ret;
}
// EXPORTABLE INTERFACE ////////////////////////////////////////////////////////////