aboutsummaryrefslogtreecommitdiff
path: root/mod/sitepages
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-06 02:31:56 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-06 02:31:56 +0000
commit806edd4573f41e8796f8808e302c948e247af964 (patch)
treef7d63a4788b31656066143baf093b271b51071bc /mod/sitepages
parentffca510fca9f902930dcbb1893bb6b5c5e1e8e3a (diff)
downloadelgg-806edd4573f41e8796f8808e302c948e247af964.tar.gz
elgg-806edd4573f41e8796f8808e302c948e247af964.tar.bz2
updating the site pages class to use initializeAttributes
git-svn-id: http://code.elgg.org/elgg/trunk@7847 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/sitepages')
-rw-r--r--mod/sitepages/sitepages_functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/sitepages/sitepages_functions.php b/mod/sitepages/sitepages_functions.php
index 5e696e4c9..39693a2c8 100644
--- a/mod/sitepages/sitepages_functions.php
+++ b/mod/sitepages/sitepages_functions.php
@@ -105,8 +105,8 @@ function sitepages_get_page_content($page_type) {
* Utility object to store site page information.
*/
class ElggSitePage extends ElggObject {
- public function initialise_attributes() {
- parent::initialise_attributes();
+ public function initializeAttributes() {
+ parent::initializeAttributes();
$this->attributes['subtype'] = 'sitepages_page';
}