aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-10-04 11:10:16 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-10-04 11:10:16 +0000
commit8525e97c285919d47b966b3c7582d79d75d84a43 (patch)
tree5abe9deb44673fd51de37ef7163fada7b65289ce /phpBB/install
parent53965f0085c6bc848a239208c078d29196636d21 (diff)
downloadforums-8525e97c285919d47b966b3c7582d79d75d84a43.tar
forums-8525e97c285919d47b966b3c7582d79d75d84a43.tar.gz
forums-8525e97c285919d47b966b3c7582d79d75d84a43.tar.bz2
forums-8525e97c285919d47b966b3c7582d79d75d84a43.tar.xz
forums-8525e97c285919d47b966b3c7582d79d75d84a43.zip
Bug #52415
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10205 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/database_update.php17
1 files changed, 16 insertions, 1 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 7ef76535d3..ce223cf302 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -8,7 +8,7 @@
*
*/
-$updates_to_version = '3.0.6-RC2';
+$updates_to_version = '3.0.6-RC3';
// Enter any version to update from to test updates. The version within the db will not be updated.
$debug_from_version = false;
@@ -883,6 +883,8 @@ function database_update_info()
LOG_TABLE => array('log_time'),
),
),
+ // No changes from 3.0.6-RC2 to 3.0.6-RC3
+ '3.0.6-RC2' => array(),
);
}
@@ -1513,6 +1515,19 @@ function change_database_data(&$no_updates, $version)
// No changes from 3.0.6-RC1 to 3.0.6-RC2
case '3.0.6-RC1':
break;
+
+ // Changes from 3.0.6-RC2 to 3.0.6-RC3
+ case '3.0.6-RC2':
+
+ // Update the Custom Profile Fields based on previous settings to the new format
+ $sql = 'UPDATE ' . PROFILE_FIELDS_TABLE . '
+ SET field_show_on_vt = 1
+ WHERE field_hide = 0
+ AND (field_required = 1 OR field_show_on_reg = 1 OR field_show_profile = 1)';
+ _sql($sql, $errored, $error_ary);
+ $no_updates = false;
+
+ break;
}
}