aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/data/v330
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-11-22 10:56:33 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-11-22 10:56:33 +0100
commit896b31272b3687c0f869bf9fdc1b580e80d19514 (patch)
tree8b3e40d764590476810b3515f90f711b1887bc7a /phpBB/phpbb/db/migration/data/v330
parent2a023c9e15ffd03f07770adf6e8372d3b4e23057 (diff)
parent0a4cc5d2018dde19754f90b30ad49ff2718efc76 (diff)
downloadforums-896b31272b3687c0f869bf9fdc1b580e80d19514.tar
forums-896b31272b3687c0f869bf9fdc1b580e80d19514.tar.gz
forums-896b31272b3687c0f869bf9fdc1b580e80d19514.tar.bz2
forums-896b31272b3687c0f869bf9fdc1b580e80d19514.tar.xz
forums-896b31272b3687c0f869bf9fdc1b580e80d19514.zip
Merge pull request #5686 from v12mike/ticket/9837
[ticket/9837] Display unapproved posts to their authors
Diffstat (limited to 'phpBB/phpbb/db/migration/data/v330')
-rw-r--r--phpBB/phpbb/db/migration/data/v330/add_display_unapproved_posts_config.php24
1 files changed, 24 insertions, 0 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
new file mode 100644
index 0000000000..b429270827
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v330/add_display_unapproved_posts_config.php
@@ -0,0 +1,24 @@
+<?php
+/**
+*
+* This file is part of the phpBB Forum Software package.
+*
+* @copyright (c) phpBB Limited <https://www.phpbb.com>
+* @license GNU General Public License, version 2 (GPL-2.0)
+*
+* For full copyright and license information, please see
+* the docs/CREDITS.txt file.
+*
+*/
+
+namespace phpbb\db\migration\data\v330;
+
+class add_display_unapproved_posts_config extends \phpbb\db\migration\migration
+{
+ public function update_data()
+ {
+ return [
+ ['config.add', ['display_unapproved_posts', 1]],
+ ];
+ }
+}