diff --git a/src/Wallabag/CoreBundle/Controller/TagController.php b/src/Wallabag/CoreBundle/Controller/TagController.php index 630f5a3ac..d95727de3 100644 --- a/src/Wallabag/CoreBundle/Controller/TagController.php +++ b/src/Wallabag/CoreBundle/Controller/TagController.php @@ -251,8 +251,6 @@ class TagController extends Controller $em->flush(); } - $redirectUrl = $this->get(Redirect::class)->to($request->headers->get('referer'), '', true); - return $this->redirect($this->get(Redirect::class)->to($request->getSession()->get('prevUrl'), '', true)); } }