Skip to content

Commit

Permalink
Startup: Remove Client List related code
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansenDatabay committed Oct 25, 2023
1 parent 7a5ab6c commit 480c523
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions Services/Init/classes/class.ilStartUpGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -1004,13 +1004,6 @@ private function showRegistrationLinks(string $page_editor_html): string
$rtpl->parseCurrentBlock();
}

if ($this->dic['ilIliasIniFile']->readVariable('clients', 'list')) {
$rtpl->setCurrentBlock('client_list');
$rtpl->setVariable('TXT_CLIENT_LIST', $this->lng->txt('to_client_list'));
$rtpl->setVariable('CMD_CLIENT_LIST', $this->ctrl->getLinkTarget($this, 'showClientList'));
$rtpl->parseCurrentBlock();
}

return $this->substituteLoginPageElements(
$tpl,
$page_editor_html,
Expand Down Expand Up @@ -1271,18 +1264,6 @@ private function showLogout(): void
$tpl->parseCurrentBlock();
}

if ($this->dic['ilIliasIniFile']->readVariable('clients', 'list')) {
$tpl->setCurrentBlock('client_list');
$tpl->setVariable('TXT_CLIENT_LIST', $this->lng->txt('to_client_list'));
$this->ctrl->setParameter($this, 'client_id', $client_id);
$tpl->setVariable(
'CMD_CLIENT_LIST',
$this->ctrl->getLinkTarget($this, 'showClientList')
);
$tpl->parseCurrentBlock();
$this->ctrl->setParameter($this, 'client_id', '');
}

$tosWithdrawalGui = new ilTermsOfServiceWithdrawalGUIHelper($this->user);

$tpl->setVariable('TXT_PAGEHEADLINE', $this->lng->txt('logout'));
Expand Down

0 comments on commit 480c523

Please sign in to comment.