mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 05:38:52 +00:00
[ticket/12251] Load profile fields by default on posts, pms and memberlist
PHPBB3-12251
This commit is contained in:
parent
e6f492c7ac
commit
50165fe920
1 changed files with 30 additions and 0 deletions
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
/**
|
||||
*
|
||||
* @package migration
|
||||
* @copyright (c) 2014 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
namespace phpbb\db\migration\data\v310;
|
||||
|
||||
class profilefield_change_load_settings extends \phpbb\db\migration\migration
|
||||
{
|
||||
static public function depends_on()
|
||||
{
|
||||
return array(
|
||||
'\phpbb\db\migration\data\v310\profilefield_aol_cleanup',
|
||||
);
|
||||
}
|
||||
|
||||
public function update_data()
|
||||
{
|
||||
return array(
|
||||
array('config.update', array('load_cpf_memberlist', '1')),
|
||||
array('config.update', array('load_cpf_pm', '1')),
|
||||
array('config.update', array('load_cpf_viewprofile', '1')),
|
||||
array('config.update', array('load_cpf_viewtopic', '1')),
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue