activate.php 216 B

1234567891011
  1. <?php
  2. /**
  3. * Register the ElggBlog class for the object/blog subtype
  4. */
  5. if (get_subtype_id('object', 'blog')) {
  6. update_subtype('object', 'blog', 'ElggBlog');
  7. } else {
  8. add_subtype('object', 'blog', 'ElggBlog');
  9. }