diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-12-11 21:56:21 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-12-11 21:56:21 +0100 |
commit | 9f055e1af39f36ff18cc278093000cb30c858885 (patch) | |
tree | 0dbfa5caa2e26c2c71936d84639b23722a14c8db /phpBB/phpbb/db | |
parent | b4ca1bdb0050b238797431f29faaefdc3057b50a (diff) | |
download | forums-9f055e1af39f36ff18cc278093000cb30c858885.tar forums-9f055e1af39f36ff18cc278093000cb30c858885.tar.gz forums-9f055e1af39f36ff18cc278093000cb30c858885.tar.bz2 forums-9f055e1af39f36ff18cc278093000cb30c858885.tar.xz forums-9f055e1af39f36ff18cc278093000cb30c858885.zip |
[ticket/15322] Add config setting for -f parameter & remove mail function name
The -f parameter can now be added via configuration in the ACP. Addtionally,
the config setting for the mail function name has been removed.
PHPBB3-15322
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r-- | phpBB/phpbb/db/migration/data/v32x/email_envelope_sender.php | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v32x/email_envelope_sender.php b/phpBB/phpbb/db/migration/data/v32x/email_envelope_sender.php new file mode 100644 index 0000000000..2ba83f40df --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v32x/email_envelope_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_envelope_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_envelope_sender']); + } + + public function update_data() + { + return array( + array('config.add', array('email_envelope_sender', '0')), + array('config.remove', array('email_function_name')), + ); + } +} |