aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggData.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 20:06:08 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 20:06:08 +0000
commitd9d5e669dc2f336cd110dd3761573165e46c6f0c (patch)
tree23fd37e30a8dda703b99b412f8474ed07ed2edad /engine/classes/ElggData.php
parent566b755be286b794a07bc92655ec6791012b58ca (diff)
downloadelgg-d9d5e669dc2f336cd110dd3761573165e46c6f0c.tar.gz
elgg-d9d5e669dc2f336cd110dd3761573165e46c6f0c.tar.bz2
Refs #2629 This should fix this ticket. Need to remove initialise_attributes from any class updated with new method and add call to initializeAttributes in ElggData for those that are not updated.
git-svn-id: http://code.elgg.org/elgg/trunk@7389 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes/ElggData.php')
-rw-r--r--engine/classes/ElggData.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/classes/ElggData.php b/engine/classes/ElggData.php
index 2853a5298..55d0da810 100644
--- a/engine/classes/ElggData.php
+++ b/engine/classes/ElggData.php
@@ -39,6 +39,7 @@ abstract class ElggData implements
protected function initialise_attributes($pre18_api = true) {
if ($pre18_api) {
elgg_deprecated_notice('initialise_attributes() is deprecated by initializeAttributes()', 1.8);
+ initializeAttributes();
} else {
return false;
}