diff options
Diffstat (limited to 'mod/blog/classes')
-rw-r--r-- | mod/blog/classes/ElggBlog.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mod/blog/classes/ElggBlog.php b/mod/blog/classes/ElggBlog.php index 8dfe0585c..7a64a1777 100644 --- a/mod/blog/classes/ElggBlog.php +++ b/mod/blog/classes/ElggBlog.php @@ -3,11 +3,14 @@ * Extended class to override the time_created */ class ElggBlog extends ElggObject { - protected function initialise_attributes() { - parent::initialise_attributes(); - // override the default file subtype. - $this->attributes['subtype'] = 'blog'; + /** + * Set subtype to blog. + */ + protected function initializeAttributes() { + parent::initializeAttributes(); + + $this->attributes['subtype'] = "blog"; } /** |