1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/15322] Try to make new email setting more readable

PHPBB3-15322
This commit is contained in:
Marc Alexander
2017-12-13 21:31:07 +01:00
parent 9f055e1af3
commit 4e045ed767
6 changed files with 9 additions and 9 deletions

View File

@@ -13,7 +13,7 @@
namespace phpbb\db\migration\data\v32x;
class email_envelope_sender extends \phpbb\db\migration\migration
class email_force_sender extends \phpbb\db\migration\migration
{
static public function depends_on()
{
@@ -24,13 +24,13 @@ class email_envelope_sender extends \phpbb\db\migration\migration
public function effectively_installed()
{
return isset($this->config['email_envelope_sender']);
return isset($this->config['email_force_sender']);
}
public function update_data()
{
return array(
array('config.add', array('email_envelope_sender', '0')),
array('config.add', array('email_force_sender', '0')),
array('config.remove', array('email_function_name')),
);
}