Browse Source

[Feature] Parrainage

develop
Fab 3 years ago
parent
commit
95d47433a1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ShopBundle/Manager/EntityManager.php

+ 1
- 1
ShopBundle/Manager/EntityManager.php View File

public function getUserSystem() public function getUserSystem()
{ {
if ($this->userSystem === null) { if ($this->userSystem === null) {
$this->userSystem = $this->entityManager->getRepository($this->getEntityName(UserInterface::class))->findOneByDevAlias('system');
$this->userSystem = $this->getRepository(UserInterface::class)->findOneByDevAlias('system');
} }
return $this->userSystem; return $this->userSystem;
} }

Loading…
Cancel
Save