aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db
diff options
context:
space:
mode:
authorv12mike <github@ingenious.co.nz>2019-09-10 08:33:01 -0400
committerMarc Alexander <admin@m-a-styles.de>2019-11-21 13:44:19 +0100
commit63b7518a0f8b09d23a0d45c50d98aa3ff607f613 (patch)
tree00fab54c2fd8658d889eb264d49983d5da84a3c3 /phpBB/phpbb/db
parent01b0ec19c681b76b59ae37c77d56357b2197bb8b (diff)
downloadforums-63b7518a0f8b09d23a0d45c50d98aa3ff607f613.tar
forums-63b7518a0f8b09d23a0d45c50d98aa3ff607f613.tar.gz
forums-63b7518a0f8b09d23a0d45c50d98aa3ff607f613.tar.bz2
forums-63b7518a0f8b09d23a0d45c50d98aa3ff607f613.tar.xz
forums-63b7518a0f8b09d23a0d45c50d98aa3ff607f613.zip
[ticket/9837] Make unapproved posts visible to posters
Improvements for feature following review PHPBB3-9837
Diffstat (limited to 'phpBB/phpbb/db')
-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..e3d2bddb0b
--- /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 array(
+ array('config.add', array('display_unapproved_posts', 1)),
+ );
+ }
+}