mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-30 13:01:07 +00:00
Both parameter wasn't used in the function, removing them
This commit is contained in:
parent
c3f7a2ca70
commit
10bf812a9e
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@ namespace Wallabag\UserBundle\EventListener;
|
||||||
use Doctrine\ORM\EntityManager;
|
use Doctrine\ORM\EntityManager;
|
||||||
use FOS\UserBundle\Event\UserEvent;
|
use FOS\UserBundle\Event\UserEvent;
|
||||||
use FOS\UserBundle\FOSUserEvents;
|
use FOS\UserBundle\FOSUserEvents;
|
||||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
|
||||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||||
use Wallabag\CoreBundle\Entity\Config;
|
use Wallabag\CoreBundle\Entity\Config;
|
||||||
|
|
||||||
|
@ -47,7 +46,7 @@ class CreateConfigListener implements EventSubscriberInterface
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function createConfig(UserEvent $event, $eventName = null, EventDispatcherInterface $eventDispatcher = null)
|
public function createConfig(UserEvent $event)
|
||||||
{
|
{
|
||||||
$config = new Config($event->getUser());
|
$config = new Config($event->getUser());
|
||||||
$config->setTheme($this->theme);
|
$config->setTheme($this->theme);
|
||||||
|
|
Loading…
Reference in a new issue