diff options
Diffstat (limited to 'demos/personal/protected/Common/MainMenu.php')
-rw-r--r-- | demos/personal/protected/Common/MainMenu.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/demos/personal/protected/Common/MainMenu.php b/demos/personal/protected/Common/MainMenu.php index a2334c03..5e1e95c0 100644 --- a/demos/personal/protected/Common/MainMenu.php +++ b/demos/personal/protected/Common/MainMenu.php @@ -1,12 +1,12 @@ -<?php
-
-class MainMenu extends TTemplateControl
-{
- public function logout($sender,$param)
- {
- $this->Application->getModule('auth')->logout();
- $this->Response->redirect($this->Service->constructUrl('Home'));
- }
-}
-
+<?php + +class MainMenu extends TTemplateControl +{ + public function logout($sender,$param) + { + $this->Application->getModule('auth')->logout(); + $this->Response->redirect($this->Service->constructUrl('Home')); + } +} + ?>
\ No newline at end of file |