activate.php 228 B

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