diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:14:00 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:14:00 +0000 |
commit | 323e3ee1dafdf7bdd60607fd960e53957fce770d (patch) | |
tree | 4d98811a53afef9e10d4b08fd3084368559b4999 /engine | |
parent | 1e8b0564c84537c9d82d8e0c645e162bf0e1fc0e (diff) | |
download | elgg-323e3ee1dafdf7bdd60607fd960e53957fce770d.tar.gz elgg-323e3ee1dafdf7bdd60607fd960e53957fce770d.tar.bz2 |
finished the conversion to initializeAttributes()
git-svn-id: http://code.elgg.org/elgg/trunk@7145 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/classes/ElggFile.php | 1 | ||||
-rw-r--r-- | engine/tests/objects/entities.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engine/classes/ElggFile.php b/engine/classes/ElggFile.php index bf6732ca4..46cd0b6a0 100644 --- a/engine/classes/ElggFile.php +++ b/engine/classes/ElggFile.php @@ -36,6 +36,7 @@ class ElggFile extends ElggObject { */ protected function initialise_attributes() { elgg_deprecated_notice('ElggFile::initialise_attributes() is deprecated by ::initializeAttributes()', 1.8); + $this->initializeAttributes(); } /** diff --git a/engine/tests/objects/entities.php b/engine/tests/objects/entities.php index b6b1b9b59..e147c0a3c 100644 --- a/engine/tests/objects/entities.php +++ b/engine/tests/objects/entities.php @@ -227,7 +227,7 @@ class ElggCoreEntityTest extends ElggCoreUnitTest { // ElggEntity is an abstract class with no abstact methods. class ElggEntityTest extends ElggEntity { public function __construct() { - $this->initialise_attributes(); + $this->initializeAttributes(); } public function expose_attributes() { |