aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2018-06-18 13:42:42 +0200
committerJakub Senko <jakubsenko@gmail.com>2018-06-18 17:31:10 +0200
commit6fdb7486ad0a95a3f80ddc88e6e53c058a9863ec (patch)
tree295764d11ab81099ab03b8d0335e10522a136a20 /phpBB/phpbb/db
parent02cbb864a5b6df62e978a69c368c8ec5ca35d8a3 (diff)
downloadforums-6fdb7486ad0a95a3f80ddc88e6e53c058a9863ec.tar
forums-6fdb7486ad0a95a3f80ddc88e6e53c058a9863ec.tar.gz
forums-6fdb7486ad0a95a3f80ddc88e6e53c058a9863ec.tar.bz2
forums-6fdb7486ad0a95a3f80ddc88e6e53c058a9863ec.tar.xz
forums-6fdb7486ad0a95a3f80ddc88e6e53c058a9863ec.zip
[ticket/15651] Remove unnecessary condition
module.remove internally check if the module exists PHPBB3-15651
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r--phpBB/phpbb/db/migration/data/v320/add_help_phpbb.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/phpBB/phpbb/db/migration/data/v320/add_help_phpbb.php b/phpBB/phpbb/db/migration/data/v320/add_help_phpbb.php
index a52067f484..804adc4490 100644
--- a/phpBB/phpbb/db/migration/data/v320/add_help_phpbb.php
+++ b/phpBB/phpbb/db/migration/data/v320/add_help_phpbb.php
@@ -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',