diff --git a/config/services.yml b/config/services.yml index b2938bb7..e5bdea80 100644 --- a/config/services.yml +++ b/config/services.yml @@ -51,9 +51,6 @@ services: PrestaShop\Module\Psgdpr\Repository\ConsentRepository: class: 'PrestaShop\Module\Psgdpr\Repository\ConsentRepository' - PrestaShop\Module\Psgdpr\Repository\ConsentLangRepository: - class: 'PrestaShop\Module\Psgdpr\Repository\ConsentLangRepository' - ## CONTROLLERS ## PrestaShop\Module\Psgdpr\Controller\Admin\CustomerController: class: 'PrestaShop\Module\Psgdpr\Controller\Admin\CustomerController' diff --git a/src/Entity/PsgdprConsentLang.php b/src/Entity/PsgdprConsentLang.php index 40395441..85d5177f 100644 --- a/src/Entity/PsgdprConsentLang.php +++ b/src/Entity/PsgdprConsentLang.php @@ -25,7 +25,7 @@ /** * @ORM\Table() - * @ORM\Entity(repositoryClass="PrestaShop\Module\Psgdpr\Repository\ConsentLangRepository") + * @ORM\Entity() */ class PsgdprConsentLang { diff --git a/src/Repository/ConsentLangRepository.php b/src/Repository/ConsentLangRepository.php deleted file mode 100644 index 6f3269aa..00000000 --- a/src/Repository/ConsentLangRepository.php +++ /dev/null @@ -1,45 +0,0 @@ - - * @copyright Since 2007 PrestaShop SA and Contributors - * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) - */ - -namespace PrestaShop\Module\Psgdpr\Repository; - -use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; -use Doctrine\Persistence\ManagerRegistry; -use PrestaShop\Module\Psgdpr\Entity\PsgdprLog; - -/** - * ConsentLangRepository. - * - * This class was generated by the Doctrine ORM. Add your own custom - * repository methods below. - */ -class ConsentLangRepository extends ServiceEntityRepository -{ - public function __construct(ManagerRegistry $registry) - { - parent::__construct($registry, PsgdprLog::class); - } -}