aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 22:14:00 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 22:14:00 +0000
commit323e3ee1dafdf7bdd60607fd960e53957fce770d (patch)
tree4d98811a53afef9e10d4b08fd3084368559b4999 /mod
parent1e8b0564c84537c9d82d8e0c645e162bf0e1fc0e (diff)
downloadelgg-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 'mod')
-rw-r--r--mod/blog/classes/ElggBlog.php11
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";
}
/**