From 468f0f9406c22a54a109028131d5f7cb56bd0f4e Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 20 Nov 2010 08:16:24 +0000 Subject: Fixes #2473: removes initialise_entity_cache() git-svn-id: http://code.elgg.org/elgg/trunk@7365 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggEntity.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'engine/classes/ElggEntity.php') diff --git a/engine/classes/ElggEntity.php b/engine/classes/ElggEntity.php index 693b333cb..0cf3da8fa 100644 --- a/engine/classes/ElggEntity.php +++ b/engine/classes/ElggEntity.php @@ -84,8 +84,6 @@ abstract class ElggEntity extends ElggData implements protected function initializeAttributes() { parent::initializeAttributes(); - initialise_entity_cache(); - $this->attributes['guid'] = ""; $this->attributes['type'] = ""; $this->attributes['subtype'] = ""; @@ -655,8 +653,8 @@ abstract class ElggEntity extends ElggData implements * * @param int $user_guid The user. * @param string $type The type of entity we're looking to write - * @param string $subtype The subtype of the entity we're looking to write - * + * @param string $subtype The subtype of the entity we're looking to write + * * @return bool */ public function canWriteToContainer($user_guid = 0, $type = 'all', $subtype = 'all') { -- cgit v1.2.3