aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/activate.php
blob: a90525291f9a6edd20883f8ddca5375d4b5577cd (plain)
1
2
3
4
5
6
7
8
9
10
<?php
/**
 * Register the ElggBlog class for the object/blog subtype
 */

if (get_subtype_id('object', 'blog')) {
	update_subtype('object', 'blog', 'ElggBlog');
} else {
	add_subtype('object', 'blog', 'ElggBlog');
}