mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 10:22:14 +01:00
Remove extraneous blank lines from EntryController.php
This commit is contained in:
parent
e90daf0690
commit
8d3d916d4a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user