activate.php 270 B

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