@@ -31,7 +31,7 @@ class EntityManager | |||
public function getUserSystem() | |||
{ | |||
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; | |||
} |