From 97fee36fa600a23e4915872d498bca90de028f2a Mon Sep 17 00:00:00 2001 From: Michael Ciociola <549853+Spoons@users.noreply.github.com> Date: Fri, 23 Dec 2022 11:03:25 -0600 Subject: [PATCH] Update src/Wallabag/CoreBundle/Controller/TagController.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jérémy Benoist --- src/Wallabag/CoreBundle/Controller/TagController.php | 2 -- 1 file changed, 2 deletions(-) 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)); } }