Skip to content

Commit

Permalink
Merge pull request phpbb#5257 from senky/ticket/15651
Browse files Browse the repository at this point in the history
[ticket/15651] Remove unnecessary condition

* github.com:/phpbb/phpbb:
  [ticket/15651] Remove unnecessary condition
  • Loading branch information
Nicofuma committed Jul 8, 2018
2 parents 90dc551 + 6fdb748 commit e7ad97d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions phpBB/phpbb/db/migration/data/v320/add_help_phpbb.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ public function update_data()
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',
Expand Down

0 comments on commit e7ad97d

Please sign in to comment.