diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-12-16 17:32:01 -0500 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-12-16 17:32:01 -0500 |
commit | cc0f1ddad2fac1d1761d59a818f1c41d7db6ed0d (patch) | |
tree | 322d7a5e3104a17b64d65a12ce1478a14ced4cb1 /actions/admin/site | |
parent | d719d03f1b0e636db021e728cf79a10176d991da (diff) | |
parent | 22e8d9be4582b78a500382e14046a653a14e3f43 (diff) | |
download | elgg-cc0f1ddad2fac1d1761d59a818f1c41d7db6ed0d.tar.gz elgg-cc0f1ddad2fac1d1761d59a818f1c41d7db6ed0d.tar.bz2 |
Merge branch 'pr-309' into 1.8
Diffstat (limited to 'actions/admin/site')
-rw-r--r-- | actions/admin/site/unlock_upgrade.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/actions/admin/site/unlock_upgrade.php b/actions/admin/site/unlock_upgrade.php new file mode 100644 index 000000000..b625b1d26 --- /dev/null +++ b/actions/admin/site/unlock_upgrade.php @@ -0,0 +1,10 @@ +<?php +/** + * Unlocks the upgrade script + */ + +if (_elgg_upgrade_is_locked()) { + _elgg_upgrade_unlock(); +} +system_message(elgg_echo('upgrade:unlock:success')); +forward(REFERER); |