Remove extraneous blank lines from EntryController.php

This commit is contained in:
Michael Ciociola 2023-08-06 20:46:52 +00:00 committed by Michael Ciociola
parent e90daf0690
commit 8d3d916d4a

View file

@ -452,7 +452,6 @@ class EntryController extends AbstractController
$message
);
$redirectUrl = $this->redirectHelper->to($request->getSession()->get('prevUrl'));
return $this->redirect($redirectUrl);
@ -518,7 +517,6 @@ class EntryController extends AbstractController
'flashes.entry.notice.entry_deleted'
);
// don't redirect user to the deleted entry (check that the referer doesn't end with the same url)
$prev = $request->getSession()->get('prevUrl');
$to = (1 !== preg_match('#' . $url . '$#i', $prev) ? $prev : null);