aboutsummaryrefslogtreecommitdiff
path: root/upgrade.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-07-17 02:46:53 +0200
committerSem <sembrestels@riseup.net>2012-07-17 02:46:53 +0200
commitdce60b43126dcaa38e6845ae45e09db87aa7e229 (patch)
treeddb47e193ed2737c7adf338d0c87813a7ff67fb6 /upgrade.php
parent9590b4684d4ff87a5986742bf00ea0a91e061b0c (diff)
downloadelgg-dce60b43126dcaa38e6845ae45e09db87aa7e229.tar.gz
elgg-dce60b43126dcaa38e6845ae45e09db87aa7e229.tar.bz2
Refs #4643. Added unlock upgrade action.
Diffstat (limited to 'upgrade.php')
-rw-r--r--upgrade.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/upgrade.php b/upgrade.php
index 38be476a4..e1f3c6b9e 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -13,6 +13,7 @@
* @subpackage Upgrade
*/
+// @todo Move to ElggUpgradeManager::lock() when #4628 fixed.
function upgrade_lock() {
global $CONFIG, $DB_QUERY_CACHE;
@@ -35,6 +36,7 @@ function upgrade_lock() {
return false;
}
+// @todo Move to ElggUpgradeManager::unlock() when #4682 fixed.
function upgrade_unlock() {
global $CONFIG;
delete_data("drop table {$CONFIG->dbprefix}locked");