diff options
Diffstat (limited to 'engine/classes/ElggEntity.php')
-rw-r--r-- | engine/classes/ElggEntity.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/engine/classes/ElggEntity.php b/engine/classes/ElggEntity.php index 86bf0727f..571ef890f 100644 --- a/engine/classes/ElggEntity.php +++ b/engine/classes/ElggEntity.php @@ -86,10 +86,6 @@ abstract class ElggEntity extends ElggData implements protected function initializeAttributes() { initialise_entity_cache(); - // Create attributes array if not already created - if (!is_array($this->attributes)) { - $this->attributes = array(); - } if (!is_array($this->temp_metadata)) { $this->temp_metadata = array(); } @@ -109,7 +105,6 @@ abstract class ElggEntity extends ElggData implements $this->attributes['site_guid'] = 0; $this->attributes['access_id'] = ACCESS_PRIVATE; - $this->attributes['time_created'] = ""; $this->attributes['time_updated'] = ""; $this->attributes['last_action'] = ''; $this->attributes['enabled'] = "yes"; |