mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.2.x'
* 3.2.x: [ticket/15090] Ensure send stats module exists before removing
This commit is contained in:
commit
905e189c77
1 changed files with 3 additions and 4 deletions
|
@ -32,10 +32,9 @@ class add_help_phpbb extends \phpbb\db\migration\migration
|
||||||
return array(
|
return array(
|
||||||
array('config.add', array('help_send_statistics', true)),
|
array('config.add', array('help_send_statistics', true)),
|
||||||
array('config.add', array('help_send_statistics_time', 0)),
|
array('config.add', array('help_send_statistics_time', 0)),
|
||||||
array('module.remove', array(
|
array('if', array(
|
||||||
'acp',
|
array('module.exists', array('acp', false, 'ACP_SEND_STATISTICS')),
|
||||||
false,
|
array('module.remove', array('acp', false, 'ACP_SEND_STATISTICS')),
|
||||||
'ACP_SEND_STATISTICS',
|
|
||||||
)),
|
)),
|
||||||
array('module.add', array(
|
array('module.add', array(
|
||||||
'acp',
|
'acp',
|
||||||
|
|
Loading…
Add table
Reference in a new issue