activate.php 297 B

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