1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-24 01:20:40 +01:00

Merge pull request #5257 from senky/ticket/15651

[ticket/15651] Remove unnecessary condition

* github.com:/phpbb/phpbb:
  [ticket/15651] Remove unnecessary condition
This commit is contained in:
Tristan Darricau 2018-07-08 18:38:13 +02:00
commit e7ad97de3a

View File

@ -32,10 +32,7 @@ class add_help_phpbb extends \phpbb\db\migration\migration
return array(
array('config.add', array('help_send_statistics', true)),
array('config.add', array('help_send_statistics_time', 0)),
array('if', array(
array('module.exists', array('acp', false, 'ACP_SEND_STATISTICS')),
array('module.remove', array('acp', false, 'ACP_SEND_STATISTICS')),
)),
array('module.remove', array('acp', false, 'ACP_SEND_STATISTICS')),
array('module.add', array(
'acp',
'ACP_SERVER_CONFIGURATION',