Skip to content

Commit

Permalink
Fixed broken module activation
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck Allimant committed Nov 8, 2024
1 parent 5bd3454 commit ad8e5d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>2.0.3</version>
<version>2.0.4</version>
<authors>
<author>
<name>Franck Allimant</name>
Expand Down
2 changes: 0 additions & 2 deletions Config/sqldb.map

This file was deleted.

4 changes: 2 additions & 2 deletions Payzen.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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
));
}

Expand Down

0 comments on commit ad8e5d3

Please sign in to comment.