aboutsummaryrefslogtreecommitdiff
path: root/upgrade.php
diff options
context:
space:
mode:
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");