Skip to content

Commit 776b5c2

Browse files
Mail: Simplify redirect if mail settings must not be changed
1 parent bc4e591 commit 776b5c2

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

components/ILIAS/Mail/classes/class.ilMailOptionsGUI.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,6 @@ public function __construct(
5959
public function executeCommand(): void
6060
{
6161
if (!$this->mail_options->mayManageInvididualSettings()) {
62-
$referrer = '';
63-
if ($this->http->wrapper()->query()->has('referrer')) {
64-
$referrer = $this->http->wrapper()->query()->retrieve(
65-
'referrer',
66-
$this->refinery->kindlyTo()->string()
67-
);
68-
}
69-
if (strtolower(PersonalSettingsGUI::class) === strtolower($referrer)) {
70-
$this->ctrl->redirectByClass(PersonalSettingsGUI::class);
71-
}
7262
$this->ctrl->redirectByClass(ilMailGUI::class);
7363
}
7464

0 commit comments

Comments
 (0)