From d428c6179cb91fa6c6a6ca739081dfbf79a418b0 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sun, 31 Oct 2010 00:29:45 +0000 Subject: Refs #2597: Entity type constructors all use initializeAttributes now git-svn-id: http://code.elgg.org/elgg/trunk@7158 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggGroup.php | 2 +- engine/classes/ElggObject.php | 2 +- engine/classes/ElggUser.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engine') diff --git a/engine/classes/ElggGroup.php b/engine/classes/ElggGroup.php index 8721f931b..00502dd39 100644 --- a/engine/classes/ElggGroup.php +++ b/engine/classes/ElggGroup.php @@ -47,7 +47,7 @@ class ElggGroup extends ElggEntity * @throws Exception if there was a problem creating the user. */ function __construct($guid = null) { - $this->initialise_attributes(); + $this->initializeAttributes(); if (!empty($guid)) { // Is $guid is a DB row - either a entity row, or a user table row. diff --git a/engine/classes/ElggObject.php b/engine/classes/ElggObject.php index d2e3f14e4..b8e733903 100644 --- a/engine/classes/ElggObject.php +++ b/engine/classes/ElggObject.php @@ -62,7 +62,7 @@ class ElggObject extends ElggEntity { * @throws InvalidParameterException If passed an Elgg* Entity that isn't an ElggObject */ function __construct($guid = null) { - $this->initialise_attributes(); + $this->initializeAttributes(); if (!empty($guid)) { // Is $guid is a DB row - either a entity row, or a object table row. diff --git a/engine/classes/ElggUser.php b/engine/classes/ElggUser.php index 380fc4e8b..ec951b359 100644 --- a/engine/classes/ElggUser.php +++ b/engine/classes/ElggUser.php @@ -58,7 +58,7 @@ class ElggUser extends ElggEntity * @throws Exception if there was a problem creating the user. */ function __construct($guid = null) { - $this->initialise_attributes(); + $this->initializeAttributes(); if (!empty($guid)) { // Is $guid is a DB row - either a entity row, or a user table row. -- cgit v1.2.3