aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorDerky <derky@phpbb.com>2017-12-27 19:30:27 +0100
committerDerky <derky@phpbb.com>2017-12-27 19:30:27 +0100
commit8e19bb83b5d4024f9474b65c703fd2ae2b0a4f74 (patch)
treeb352a0cb352685aab99b1701950d387924120130 /phpBB/phpbb
parent8f662eac403584480692fa6e35aa42cf56aa09a0 (diff)
parent95671622959d20116d26ce3898069a9afaf4b85d (diff)
downloadforums-8e19bb83b5d4024f9474b65c703fd2ae2b0a4f74.tar
forums-8e19bb83b5d4024f9474b65c703fd2ae2b0a4f74.tar.gz
forums-8e19bb83b5d4024f9474b65c703fd2ae2b0a4f74.tar.bz2
forums-8e19bb83b5d4024f9474b65c703fd2ae2b0a4f74.tar.xz
forums-8e19bb83b5d4024f9474b65c703fd2ae2b0a4f74.zip
Merge pull request #5061 from marc1706/ticket/15322
[ticket/15322] Add config for envelope sender & remove mail function setting
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/db/migration/data/v32x/email_force_sender.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v32x/email_force_sender.php b/phpBB/phpbb/db/migration/data/v32x/email_force_sender.php
new file mode 100644
index 0000000000..5319b7f76e
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v32x/email_force_sender.php
@@ -0,0 +1,37 @@
+<?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\v32x;
+
+class email_force_sender extends \phpbb\db\migration\migration
+{
+ static public function depends_on()
+ {
+ return array(
+ '\phpbb\db\migration\data\v32x\v321',
+ );
+ }
+
+ public function effectively_installed()
+ {
+ return isset($this->config['email_force_sender']);
+ }
+
+ public function update_data()
+ {
+ return array(
+ array('config.add', array('email_force_sender', '0')),
+ array('config.remove', array('email_function_name')),
+ );
+ }
+}