diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2010-10-19 17:06:23 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2011-05-20 16:45:29 +0200 |
| commit | 8fa44cc3b9778f84ca20eab1c1d404c4f848eab4 (patch) | |
| tree | 9632c945c777f071ae8f51676b575c466b456057 /phpBB/install/database_update.php | |
| parent | 7074d19c4087fab0e81a31bd806724d7eac7ef87 (diff) | |
| download | forums-8fa44cc3b9778f84ca20eab1c1d404c4f848eab4.tar forums-8fa44cc3b9778f84ca20eab1c1d404c4f848eab4.tar.gz forums-8fa44cc3b9778f84ca20eab1c1d404c4f848eab4.tar.bz2 forums-8fa44cc3b9778f84ca20eab1c1d404c4f848eab4.tar.xz forums-8fa44cc3b9778f84ca20eab1c1d404c4f848eab4.zip | |
[ticket/8542] Display custom profile fields in private messages
Introduce an option to display the cpf in the PM view.
PHPBB3-8542
Diffstat (limited to 'phpBB/install/database_update.php')
| -rw-r--r-- | phpBB/install/database_update.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index cf611ca951..d646e200a3 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -936,6 +936,9 @@ function database_update_info() GROUPS_TABLE => array( 'group_teampage' => array('UINT', 0, 'after' => 'group_legend'), ), + PROFILE_FIELDS_TABLE => array( + 'field_show_on_pm' => array('BOOL', 0), + ), ), 'change_columns' => array( GROUPS_TABLE => array( @@ -1962,6 +1965,9 @@ function change_database_data(&$no_updates, $version) _add_modules($modules_to_install); + // Allow custom profile fields in pm templates + set_config('load_cpf_pm', '0'); + $no_updates = false; break; } |
