2014031100-1.9.0_dev-elgg_upgrade_object-5577af53c93abd1a.php 287 B

1234567891011121314
  1. <?php
  2. /**
  3. * Elgg 1.9.0-dev upgrade 2014031100
  4. * elgg_upgrade_object
  5. *
  6. * Registers an \ElggUpgrade object.
  7. */
  8. if (get_subtype_id('object', 'elgg_upgrade')) {
  9. update_subtype('object', 'elgg_upgrade', 'ElggUpgrade');
  10. } else {
  11. add_subtype('object', 'elgg_upgrade', 'ElggUpgrade');
  12. }