Skip to content

Commit 5af0bf4

Browse files
authored
Merge pull request PrestaShop#101 from PrestaShop/dev
Release 2.8.0
2 parents 6f0f08a + 3ce207b commit 5af0bf4

File tree

5 files changed

+10
-45
lines changed

5 files changed

+10
-45
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010
Keep in touch with your customers the way you want, add a form to the homepage of your store and allow all the curious to subscribe to your newsletter.
1111

12+
## Compatibility
13+
14+
PrestaShop: `1.7.1.0` or later
15+
1216
## Multistore compatibility
1317

1418
This module is partially compatible with the multistore feature. Some of its options might not be available.
@@ -28,6 +32,6 @@ Just make sure to follow our [contribution guidelines][contribution-guidelines].
2832
This module is released under the [Academic Free License 3.0][AFL-3.0]
2933

3034
[report-issue]: https://github.com/PrestaShop/PrestaShop/issues/new/choose
31-
[prestashop]: https://www.prestashop.com/
35+
[prestashop]: https://www.prestashop-project.org/
3236
[contribution-guidelines]: https://devdocs.prestashop.com/1.7/contribute/contribution-guidelines/project-modules/
3337
[AFL-3.0]: https://opensource.org/licenses/AFL-3.0

config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<module>
33
<name>ps_emailsubscription</name>
44
<displayName><![CDATA[E-mail subscription form]]></displayName>
5-
<version><![CDATA[2.7.1]]></version>
5+
<version><![CDATA[2.8.0]]></version>
66
<description><![CDATA[Adds a block for newsletter subscription.]]></description>
77
<author><![CDATA[PrestaShop]]></author>
88
<confirmUninstall><![CDATA[Are you sure that you want to delete all of your contacts?]]></confirmUninstall>

ps_emailsubscription.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function __construct()
100100
$this->confirmUninstall = $this->trans('Are you sure that you want to delete all of your contacts?', [], 'Modules.Emailsubscription.Admin');
101101
$this->ps_versions_compliancy = ['min' => '1.7.1.0', 'max' => _PS_VERSION_];
102102

103-
$this->version = '2.7.1';
103+
$this->version = '2.8.0';
104104
$this->author = 'PrestaShop';
105105
$this->error = false;
106106
$this->valid = false;
@@ -153,6 +153,9 @@ public function install()
153153
$conditions[(int) $lang['id_lang']] = $this->getConditionFixtures($lang);
154154
}
155155
Configuration::updateValue('NW_CONDITIONS', $conditions, true);
156+
Configuration::updateValue('NW_VERIFICATION_EMAIL', false);
157+
Configuration::updateValue('NW_CONFIRMATION_EMAIL', false);
158+
Configuration::updateValue('NW_VOUCHER_CODE', '');
156159

157160
return Db::getInstance()->execute('
158161
CREATE TABLE IF NOT EXISTS `' . _DB_PREFIX_ . 'emailsubscription` (

tests/phpstan/phpstan.neon

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ parameters:
55
paths:
66
# From PHPStan 0.12, paths to check are relative to the neon file
77
- ../../ps_emailsubscription.php
8-
- ../../verification.php
98
- ../../controllers/
109
- ../../mails/
1110
- ../../translations/

verification.php

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)