mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-30 13:34:28 +02:00
Removed unused variables.
This commit is contained in:
parent
3671c94844
commit
0fe83c7b3a
18 changed files with 14 additions and 29 deletions
|
@ -30,12 +30,10 @@ use Twig\TwigFunction;
|
|||
|
||||
class LastUserExtension extends AbstractExtension
|
||||
{
|
||||
private $em;
|
||||
private $repo;
|
||||
|
||||
public function __construct(EntityManagerInterface $em)
|
||||
{
|
||||
$this->em = $em;
|
||||
$this->repo = $em->getRepository(AbstractLogEntry::class);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue