mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-25 16:18:08 +00:00
Remove extraneous blank lines from EntryController.php
This commit is contained in:
parent
e90daf0690
commit
8d3d916d4a
1 changed files with 0 additions and 2 deletions
|
@ -452,7 +452,6 @@ class EntryController extends AbstractController
|
||||||
$message
|
$message
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
$redirectUrl = $this->redirectHelper->to($request->getSession()->get('prevUrl'));
|
$redirectUrl = $this->redirectHelper->to($request->getSession()->get('prevUrl'));
|
||||||
|
|
||||||
return $this->redirect($redirectUrl);
|
return $this->redirect($redirectUrl);
|
||||||
|
@ -518,7 +517,6 @@ class EntryController extends AbstractController
|
||||||
'flashes.entry.notice.entry_deleted'
|
'flashes.entry.notice.entry_deleted'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// don't redirect user to the deleted entry (check that the referer doesn't end with the same url)
|
// don't redirect user to the deleted entry (check that the referer doesn't end with the same url)
|
||||||
$prev = $request->getSession()->get('prevUrl');
|
$prev = $request->getSession()->get('prevUrl');
|
||||||
$to = (1 !== preg_match('#' . $url . '$#i', $prev) ? $prev : null);
|
$to = (1 !== preg_match('#' . $url . '$#i', $prev) ? $prev : null);
|
||||||
|
|
Loading…
Reference in a new issue