unlock_upgrade.php 230 B

12345678910111213
  1. <?php
  2. /**
  3. * Unlocks the upgrade script
  4. */
  5. $upgrader = new Elgg\UpgradeService();
  6. if ($upgrader->isUpgradeLocked()) {
  7. $upgrader->releaseUpgradeMutex();
  8. }
  9. system_message(elgg_echo('upgrade:unlock:success'));
  10. forward(REFERER);