aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-31 00:29:45 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-31 00:29:45 +0000
commitd428c6179cb91fa6c6a6ca739081dfbf79a418b0 (patch)
treed9c21737ba9573a0c858ab48e4a1bb38f5fe33c1
parent5982c2ade2cec6302245ddb6897a6b66d9c48547 (diff)
downloadelgg-d428c6179cb91fa6c6a6ca739081dfbf79a418b0.tar.gz
elgg-d428c6179cb91fa6c6a6ca739081dfbf79a418b0.tar.bz2
Refs #2597: Entity type constructors all use initializeAttributes now
git-svn-id: http://code.elgg.org/elgg/trunk@7158 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/classes/ElggGroup.php2
-rw-r--r--engine/classes/ElggObject.php2
-rw-r--r--engine/classes/ElggUser.php2
3 files changed, 3 insertions, 3 deletions
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.