aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-15 02:25:17 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-15 02:25:17 +0000
commit74d029022863a78500ec76bdf000b781b5838544 (patch)
tree10e81136b2ede1a47f110f53227c0b4dccd4daf4 /engine/lib
parente1e9ccd8d3f8a0d773ed7af4fb886781fd45cb3a (diff)
downloadelgg-74d029022863a78500ec76bdf000b781b5838544.tar.gz
elgg-74d029022863a78500ec76bdf000b781b5838544.tar.bz2
Refs #1433. Restored db_upgrade() call during upgrades to fix issues for people upgrading from earlier versions of 1.7 than 2010062401. This is why we should follow deprecation policies, Brett........
git-svn-id: http://code.elgg.org/elgg/trunk@8714 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/version.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/version.php b/engine/lib/version.php
index 60ae2c973..84c291424 100644
--- a/engine/lib/version.php
+++ b/engine/lib/version.php
@@ -243,6 +243,9 @@ function version_upgrade() {
$quiet = !$dbversion;
// Note: Database upgrades are deprecated as of 1.8. Use code upgrades. See #1433
+ if (db_upgrade($dbversion, '', $quiet)) {
+ system_message(elgg_echo('upgrade:db'));
+ }
if (upgrade_code($dbversion, $quiet)) {
system_message(elgg_echo('upgrade:core'));