mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 17:45:31 +00:00
implement torrent posters feature #18
This commit is contained in:
parent
8ae1b3f0b7
commit
bd5191e894
16 changed files with 944 additions and 43 deletions
|
|
@ -32,6 +32,7 @@ class UserService
|
|||
string $theme,
|
||||
bool $sensitive = true,
|
||||
bool $yggdrasil = true,
|
||||
bool $posters = true,
|
||||
bool $approved = false,
|
||||
bool $moderator = false,
|
||||
bool $status = true
|
||||
|
|
@ -84,6 +85,10 @@ class UserService
|
|||
$yggdrasil
|
||||
);
|
||||
|
||||
$user->setPosters(
|
||||
$posters
|
||||
);
|
||||
|
||||
$this->entityManagerInterface->persist($user);
|
||||
$this->entityManagerInterface->flush();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue