aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration
diff options
context:
space:
mode:
authorv12mike <v12mike@ingenious.co.nz>2019-11-04 09:21:27 -0500
committerMarc Alexander <admin@m-a-styles.de>2019-11-21 13:44:22 +0100
commit0f57f3d90d1983c49bde1d56b6018a761f92264b (patch)
tree9d457a0b124b8df77411bdbd5715050d3262c8f2 /phpBB/phpbb/db/migration
parent4d156837332707542bed6899cbf872c441f7bd96 (diff)
downloadforums-0f57f3d90d1983c49bde1d56b6018a761f92264b.tar
forums-0f57f3d90d1983c49bde1d56b6018a761f92264b.tar.gz
forums-0f57f3d90d1983c49bde1d56b6018a761f92264b.tar.bz2
forums-0f57f3d90d1983c49bde1d56b6018a761f92264b.tar.xz
forums-0f57f3d90d1983c49bde1d56b6018a761f92264b.zip
[ticket/9837] Display unapproved posts to their authors
Coding guidelines fixes PHPBB3-9837
Diffstat (limited to 'phpBB/phpbb/db/migration')
-rw-r--r--phpBB/phpbb/db/migration/data/v330/add_display_unapproved_posts_config.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/db/migration/data/v330/add_display_unapproved_posts_config.php b/phpBB/phpbb/db/migration/data/v330/add_display_unapproved_posts_config.php
index e3d2bddb0b..d45f557a8b 100644
--- a/phpBB/phpbb/db/migration/data/v330/add_display_unapproved_posts_config.php
+++ b/phpBB/phpbb/db/migration/data/v330/add_display_unapproved_posts_config.php
@@ -17,8 +17,8 @@ class add_display_unapproved_posts_config extends \phpbb\db\migration\migration
{
public function update_data()
{
- return array(
- array('config.add', array('display_unapproved_posts', 1)),
- );
+ return [
+ ['config.add', ['display_unapproved_posts', 1]],
+ ];
}
}