From 5a06233304a9965c8319ec5c1fcc4fd582393d02 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 18 Feb 2011 00:46:54 +0000 Subject: Fixes #1433, #2183. Upgrades are now tracked and will be run if needed regardless of version. git-svn-id: http://code.elgg.org/elgg/trunk@8277 36083f99-b078-4883-b0ff-0f9b5a30f544 --- upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'upgrade.php') diff --git a/upgrade.php b/upgrade.php index 0af441b10..6589780b3 100644 --- a/upgrade.php +++ b/upgrade.php @@ -17,7 +17,7 @@ define('UPGRADING', 'upgrading'); require_once(dirname(__FILE__) . "/engine/start.php"); if (get_input('upgrade') == 'upgrade') { - if (version_upgrade_check()) { + if (elgg_get_unprocessed_upgrades()) { version_upgrade(); } elgg_invalidate_simplecache(); -- cgit v1.2.3