diff options
author | Steve Clay <steve@mrclay.org> | 2013-06-07 09:52:48 -0400 |
---|---|---|
committer | Steve Clay <steve@mrclay.org> | 2013-06-07 09:52:48 -0400 |
commit | 46ace645c75dbbaad4b2cdaeedffcd501487aa93 (patch) | |
tree | f723f7c443dbbbbff5c204e631e81a46fbd4f712 /engine/classes/ElggUser.php | |
parent | e04a851de79007adfb1c2c7a81f0cece95ae6441 (diff) | |
download | elgg-46ace645c75dbbaad4b2cdaeedffcd501487aa93.tar.gz elgg-46ace645c75dbbaad4b2cdaeedffcd501487aa93.tar.bz2 |
Fixes #5600: Entities are kept out of entity cache during save
Diffstat (limited to 'engine/classes/ElggUser.php')
-rw-r--r-- | engine/classes/ElggUser.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/classes/ElggUser.php b/engine/classes/ElggUser.php index b2cada8ef..6163f9b62 100644 --- a/engine/classes/ElggUser.php +++ b/engine/classes/ElggUser.php @@ -132,9 +132,13 @@ class ElggUser extends ElggEntity } // Now save specific stuff - return create_user_entity($this->get('guid'), $this->get('name'), $this->get('username'), + _elgg_disable_caching_for_entity($this->guid); + $ret = create_user_entity($this->get('guid'), $this->get('name'), $this->get('username'), $this->get('password'), $this->get('salt'), $this->get('email'), $this->get('language'), $this->get('code')); + _elgg_enable_caching_for_entity($this->guid); + + return $ret; } /** |