mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Implemented SourceRepository
This commit is contained in:
@@ -31,7 +31,7 @@ class DefaultController extends AbstractEntityController
|
||||
$user = new User();
|
||||
$user->setSource($this->getDoctrine()
|
||||
->getRepository(AbstractSource::class)
|
||||
->findOneBy(['slug' => SystemSlugType::GUEST_USER]));
|
||||
->findOneBySlug(SystemSlugType::GUEST_USER));
|
||||
}
|
||||
$requestedSource = new class() extends AbstractSource {
|
||||
};
|
||||
|
Reference in New Issue
Block a user