aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggEntity.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-04-13 13:28:18 -0400
committercash <cash.costello@gmail.com>2013-04-13 13:28:18 -0400
commit25de363c7c89e04391bea72eaef0f5913cf485c0 (patch)
tree1a0967a0221eaf748908c2135247b91c3a1002de /engine/classes/ElggEntity.php
parentf461006377263b4a3cfe6b5f0c50f0df9e4fe35d (diff)
downloadelgg-25de363c7c89e04391bea72eaef0f5913cf485c0.tar.gz
elgg-25de363c7c89e04391bea72eaef0f5913cf485c0.tar.bz2
cleanup of entity caching code
Diffstat (limited to 'engine/classes/ElggEntity.php')
-rw-r--r--engine/classes/ElggEntity.php6
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;