mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/15651] Remove unnecessary condition
module.remove internally check if the module exists PHPBB3-15651
This commit is contained in:
parent
02cbb864a5
commit
6fdb7486ad
1 changed files with 1 additions and 4 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue