diff --git a/Config/module.xml b/Config/module.xml index e5f5b85..96cadaa 100644 --- a/Config/module.xml +++ b/Config/module.xml @@ -13,7 +13,7 @@ en_US fr_FR - 2.0.3 + 2.0.4 Franck Allimant diff --git a/Config/sqldb.map b/Config/sqldb.map deleted file mode 100644 index a58fd16..0000000 --- a/Config/sqldb.map +++ /dev/null @@ -1,2 +0,0 @@ -# Sqlfile -> Database map -TheliaMain.sql=TheliaMain diff --git a/Payzen.php b/Payzen.php index 3c7ad87..37b1644 100644 --- a/Payzen.php +++ b/Payzen.php @@ -65,7 +65,7 @@ class Payzen extends AbstractPaymentModule public const CONFIRMATION_MESSAGE_NAME = 'payzen_payment_confirmation'; /** @var ?Translator $translator */ - protected ?Translator $translator; + protected ?Translator $translator = null; protected function trans($id, $locale, $parameters = []): string { @@ -90,7 +90,7 @@ public function postActivation(ConnectionInterface $con = null): void PayzenConfigQuery::create()->findOne(); } catch (Exception) { $database->insertSql(null, array( - __DIR__ . DS . 'Config'.DS.'thelia.sql' // The module schema + __DIR__ . DS . 'Config'.DS.'TheliaMain.sql' // The module schema )); }