From d9d5e669dc2f336cd110dd3761573165e46c6f0c Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 20 Nov 2010 20:06:08 +0000 Subject: 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 --- engine/classes/ElggData.php | 1 + 1 file changed, 1 insertion(+) (limited to 'engine/classes/ElggData.php') 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; } -- cgit v1.2.3