| Conditions | 3 |
| Paths | 2 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function preparePage() |
||
| 34 | { |
||
| 35 | $this->P = new \HaaseIT\HCSF\CorePage($this->serviceManager); |
||
| 36 | $this->P->cb_pagetype = 'content'; |
||
| 37 | |||
| 38 | unset($_SESSION['user']); |
||
| 39 | if (isset($_SESSION['cart']) && $this->config->getCore('enable_module_shop')) { |
||
| 40 | $this->helperShop->refreshCartItems($this->serviceManager); |
||
| 41 | } |
||
| 42 | $this->P->oPayload->cl_html = $this->serviceManager->get('textcats')->T('logout_message'); |
||
| 43 | } |
||
| 44 | } |
||
| 45 |