aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-06-01 09:30:38 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-06-01 09:30:38 +0200
commit10bf812a9ed6364902eb0382fe261f3ec0ae7254 (patch)
treee8cb300e32d593ae3201483b2953172a1872808b /src/Wallabag
parentc3f7a2ca707dbd43a8798cb3fcefe01333305d8b (diff)
downloadwallabag-10bf812a9ed6364902eb0382fe261f3ec0ae7254.tar.gz
wallabag-10bf812a9ed6364902eb0382fe261f3ec0ae7254.tar.zst
wallabag-10bf812a9ed6364902eb0382fe261f3ec0ae7254.zip
Both parameter wasn't used in the function, removing them
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/UserBundle/EventListener/CreateConfigListener.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/UserBundle/EventListener/CreateConfigListener.php b/src/Wallabag/UserBundle/EventListener/CreateConfigListener.php
index 0bdd1cae..e4d55c19 100644
--- a/src/Wallabag/UserBundle/EventListener/CreateConfigListener.php
+++ b/src/Wallabag/UserBundle/EventListener/CreateConfigListener.php
@@ -5,7 +5,6 @@ namespace Wallabag\UserBundle\EventListener;
5use Doctrine\ORM\EntityManager; 5use Doctrine\ORM\EntityManager;
6use FOS\UserBundle\Event\UserEvent; 6use FOS\UserBundle\Event\UserEvent;
7use FOS\UserBundle\FOSUserEvents; 7use FOS\UserBundle\FOSUserEvents;
8use Symfony\Component\EventDispatcher\EventDispatcherInterface;
9use Symfony\Component\EventDispatcher\EventSubscriberInterface; 8use Symfony\Component\EventDispatcher\EventSubscriberInterface;
10use Wallabag\CoreBundle\Entity\Config; 9use Wallabag\CoreBundle\Entity\Config;
11 10
@@ -47,7 +46,7 @@ class CreateConfigListener implements EventSubscriberInterface
47 ]; 46 ];
48 } 47 }
49 48
50 public function createConfig(UserEvent $event, $eventName = null, EventDispatcherInterface $eventDispatcher = null) 49 public function createConfig(UserEvent $event)
51 { 50 {
52 $config = new Config($event->getUser()); 51 $config = new Config($event->getUser());
53 $config->setTheme($this->theme); 52 $config->setTheme($this->theme);