aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2012-07-17 18:48:10 +0200
committerNils Adermann <naderman@naderman.de>2012-07-23 15:45:57 +0200
commit10172887fd47e86eefbabd6f5e755cd93279960d (patch)
tree307f50b083a62a9b097202c50085d63da7ec6959 /phpBB/install/database_update.php
parent55aaa596d72c8eef54f394da22f43bdf731d9333 (diff)
downloadforums-10172887fd47e86eefbabd6f5e755cd93279960d.tar
forums-10172887fd47e86eefbabd6f5e755cd93279960d.tar.gz
forums-10172887fd47e86eefbabd6f5e755cd93279960d.tar.bz2
forums-10172887fd47e86eefbabd6f5e755cd93279960d.tar.xz
forums-10172887fd47e86eefbabd6f5e755cd93279960d.zip
[ticket/10965] Introduce a new profile field option to display no value
By default the 3.0.10 behaviour is kept, profile fields will not show up if they have either not yet been selected or in case of an optional dropdown field if the novalue option was selected. PHPBB3-10965
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index c1fe144c62..2901bc76ee 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -995,6 +995,14 @@ function database_update_info()
'3.0.10-RC3' => array(),
// No changes from 3.0.10 to 3.0.11-RC1
'3.0.10' => array(),
+ // Changes from 3.0.11-RC1 to 3.0.11-RC2
+ '3.0.5' => array(
+ 'add_columns' => array(
+ PROFILE_FIELDS_TABLE => array(
+ 'field_show_novalue' => array('BOOL', 0),
+ ),
+ ),
+ ),
/** @todo DROP LOGIN_ATTEMPT_TABLE.attempt_id in 3.0.12-RC1 */
);