aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2017-04-16 10:21:14 +0200
committerTristan Darricau <github@nicofuma.fr>2017-04-16 10:21:14 +0200
commit3bddf0279920cfbe0c0ec4f2a6473f4249b36e41 (patch)
tree8118a7bf0b8e7f23d864b400f06e2f8debfe393b /phpBB/phpbb
parent269150ed40d8cf42c2b8d755191b15229dc170c2 (diff)
parente7dfdbffb50d8f88d9a5a4c064a853f50d92acf0 (diff)
downloadforums-3bddf0279920cfbe0c0ec4f2a6473f4249b36e41.tar
forums-3bddf0279920cfbe0c0ec4f2a6473f4249b36e41.tar.gz
forums-3bddf0279920cfbe0c0ec4f2a6473f4249b36e41.tar.bz2
forums-3bddf0279920cfbe0c0ec4f2a6473f4249b36e41.tar.xz
forums-3bddf0279920cfbe0c0ec4f2a6473f4249b36e41.zip
Merge pull request #4793 from marc1706/ticket/15090
[ticket/15090] Ensure send stats module exists before removing * github.com:phpbb/phpbb: [ticket/15090] Ensure send stats module exists before removing
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/db/migration/data/v320/add_help_phpbb.php7
1 files changed, 3 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 afa67fbc58..8fadb4bde4 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,9 @@ 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('module.remove', array(
- 'acp',
- false,
- 'ACP_SEND_STATISTICS',
+ array('if', array(
+ array('module.exists', array('acp', false, 'ACP_SEND_STATISTICS')),
+ array('module.remove', array('acp', false, 'ACP_SEND_STATISTICS')),
)),
array('module.add', array(
'acp',