Skip to content

Commit

Permalink
Merge pull request #209 from PrestaShop/dev
Browse files Browse the repository at this point in the history
Release 2.0.1
  • Loading branch information
lartist authored Apr 19, 2023
2 parents 227c226 + 87bc394 commit ad7ba6f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<name>psgdpr</name>
<displayName><![CDATA[Official GDPR compliance]]></displayName>
<version><![CDATA[2.0.0]]></version>
<version><![CDATA[2.0.1]]></version>
<description><![CDATA[Make your store comply with the General Data Protection Regulation (GDPR).]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[front_office_features]]></tab>
Expand Down
6 changes: 6 additions & 0 deletions config/front/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,9 @@ services:
- '@PrestaShop\Module\Psgdpr\Service\Export\ExportFactory'
- '@PrestaShop\Module\Psgdpr\Service\LoggerService'
- '@PrestaShop\Module\Psgdpr\Service\ExportService'

PrestaShop\Module\Psgdpr\Repository\ConsentRepository:
class: 'PrestaShop\Module\Psgdpr\Repository\ConsentRepository'
public: true
arguments:
- "@Doctrine\\Persistence\\ManagerRegistry"
4 changes: 1 addition & 3 deletions psgdpr.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function __construct()
{
$this->name = 'psgdpr';
$this->tab = 'administration';
$this->version = '2.0.0';
$this->version = '2.0.1';
$this->author = 'PrestaShop';
$this->need_instance = 0;

Expand All @@ -104,8 +104,6 @@ public function __construct()

$this->confirmUninstall = $this->trans('Are you sure you want to uninstall this module?', [], 'Modules.Psgdpr.Shop');
$this->ps_versions_compliancy = ['min' => '8.0.0', 'max' => _PS_VERSION_];

require_once __DIR__ . '/vendor/autoload.php';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Repository/LoggerRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function add(PsgdprLog $log)
public function findAll(): array
{
$queryBuilder = $this->getEntityManager()->createQueryBuilder();
$query = $queryBuilder->select('*')->from('ps_psgdpr_log', 'l');
$query = $queryBuilder->select('*')->from(_DB_PREFIX_ . 'psgdpr_log', 'l');

$result = $this->getEntityManager()->getConnection()->executeQuery($query);

Expand Down

0 comments on commit ad7ba6f

Please sign in to comment.