upgrades.php 341 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Lists pending upgrades
  4. */
  5. $upgrades = elgg_get_entities_from_private_settings(array(
  6. 'type' => 'object',
  7. 'subtype' => 'elgg_upgrade',
  8. 'private_setting_name' => 'is_completed',
  9. 'private_setting_value' => false
  10. ));
  11. if (!$upgrades) {
  12. echo elgg_echo('admin:upgrades:none');
  13. } else {
  14. echo elgg_view_entity_list($upgrades);
  15. }