diff options
| author | Cash Costello <cash.costello@gmail.com> | 2013-04-13 14:54:20 -0700 |
|---|---|---|
| committer | Cash Costello <cash.costello@gmail.com> | 2013-04-13 14:54:20 -0700 |
| commit | 9f2fbbd9e64cece5e2f3f1d721a1157b739c85b7 (patch) | |
| tree | 5c08d5742defdd8f3a1577453c9f824930f7e92e /engine/classes/ElggEntity.php | |
| parent | 9b526b7867a461841e4f990d4ea7945660dac18d (diff) | |
| parent | 21c92cf39d719a913cd9e29474c04781e9cd72ef (diff) | |
| download | elgg-9f2fbbd9e64cece5e2f3f1d721a1157b739c85b7.tar.gz elgg-9f2fbbd9e64cece5e2f3f1d721a1157b739c85b7.tar.bz2 | |
Merge pull request #5355 from cash/oom2
Fixes the DB query cache out of memory issues
Diffstat (limited to 'engine/classes/ElggEntity.php')
| -rw-r--r-- | engine/classes/ElggEntity.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/classes/ElggEntity.php b/engine/classes/ElggEntity.php index 5a63c7b15..8b3ceb551 100644 --- a/engine/classes/ElggEntity.php +++ b/engine/classes/ElggEntity.php @@ -1270,7 +1270,7 @@ abstract class ElggEntity extends ElggData implements public function save() { $guid = $this->getGUID(); if ($guid > 0) { - cache_entity($this); + _elgg_cache_entity($this); return update_entity( $guid, @@ -1320,7 +1320,7 @@ abstract class ElggEntity extends ElggData implements $this->attributes['subtype'] = get_subtype_id($this->attributes['type'], $this->attributes['subtype']); - cache_entity($this); + _elgg_cache_entity($this); return $this->attributes['guid']; } @@ -1362,7 +1362,7 @@ abstract class ElggEntity extends ElggData implements // Cache object handle if ($this->attributes['guid']) { - cache_entity($this); + _elgg_cache_entity($this); } return true; |
