aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_update.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-02-28 19:22:27 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-02-28 19:22:27 +0000
commit62973fa50416cebd78b46aba7e29f9746e949032 (patch)
tree621fde9ce34e356606113248da6032b700a37a75 /phpBB/install/install_update.php
parentbfa4e6038e1e15bab8c19a6a0caa9607933b972b (diff)
downloadforums-62973fa50416cebd78b46aba7e29f9746e949032.tar
forums-62973fa50416cebd78b46aba7e29f9746e949032.tar.gz
forums-62973fa50416cebd78b46aba7e29f9746e949032.tar.bz2
forums-62973fa50416cebd78b46aba7e29f9746e949032.tar.xz
forums-62973fa50416cebd78b46aba7e29f9746e949032.zip
- adjust db_tools again to not remove any schema (they may be required)
- fill dbms version if not yet filled git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9351 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_update.php')
-rw-r--r--phpBB/install/install_update.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index d2c4641112..ea87847fa2 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -183,6 +183,12 @@ class install_update extends module
);
}
+ // Fill DB version
+ if (empty($config['dbms_version']))
+ {
+ set_config('dbms_version', $db->sql_server_info(true));
+ }
+
if ($this->test_update === false)
{
// Got the updater template itself updated? If so, we are able to directly use it - but only if all three files are present