aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2014-04-17 15:17:54 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2014-04-17 15:17:54 +0200
commit809054abfd18d08cc209e7adfbe99e805276aeb7 (patch)
tree21f71e4072fe6307384bd79f4050554a9a0388a3 /phpBB/phpbb
parent40c685e6fcbe3e5e9d2626f2b5ce46b6665d8a33 (diff)
downloadforums-809054abfd18d08cc209e7adfbe99e805276aeb7.tar
forums-809054abfd18d08cc209e7adfbe99e805276aeb7.tar.gz
forums-809054abfd18d08cc209e7adfbe99e805276aeb7.tar.bz2
forums-809054abfd18d08cc209e7adfbe99e805276aeb7.tar.xz
forums-809054abfd18d08cc209e7adfbe99e805276aeb7.zip
[ticket/8558] Add config in migrations and schema_data
PHPBB3-8558
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/db/migration/data/v310/board_contact_name.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/board_contact_name.php b/phpBB/phpbb/db/migration/data/v310/board_contact_name.php
new file mode 100644
index 0000000000..37b4d50545
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v310/board_contact_name.php
@@ -0,0 +1,30 @@
+<?php
+/**
+*
+* @package migration
+* @copyright (c) 2014 phpBB Group
+* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
+*
+*/
+
+namespace phpbb\db\migration\data\v310;
+
+class board_contact_name extends \phpbb\db\migration\migration
+{
+ public function effectively_installed()
+ {
+ return isset($this->config['board_contact_name']);
+ }
+
+ static public function depends_on()
+ {
+ return array('\phpbb\db\migration\data\v310\beta2');
+ }
+
+ public function update_data()
+ {
+ return array(
+ array('config.add', array('board_contact_name', '')),
+ );
+ }
+}