diff --git a/src/Bundle/ChillMainBundle/Repository/LocationRepository.php b/src/Bundle/ChillMainBundle/Repository/LocationRepository.php index 26c338d39..845275bd7 100644 --- a/src/Bundle/ChillMainBundle/Repository/LocationRepository.php +++ b/src/Bundle/ChillMainBundle/Repository/LocationRepository.php @@ -38,18 +38,4 @@ class LocationRepository extends ServiceEntityRepository { return $this->findBy(['active' => true, 'availableForUsers' => true]); } - - /** - * fetch location by name - * - * @return array|Location[] - */ - public function findByName(string $name, string $lang): array - { - $rsm = new ResultSetMappingBuilder($this->getEntityManager()); - $rsm->addRootEntityFromClassMetadata(Location::class); - - $sql = "SELECT " - - } }