From dfe234a7aaaacedcc94716f955b44a1b50c4a057 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 6 Apr 2016 13:50:31 +0200 Subject: * components -> controls --- app/php/controls/HeaderMenu.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 app/php/controls/HeaderMenu.php (limited to 'app/php/controls/HeaderMenu.php') diff --git a/app/php/controls/HeaderMenu.php b/app/php/controls/HeaderMenu.php new file mode 100644 index 0000000..bffe4d2 --- /dev/null +++ b/app/php/controls/HeaderMenu.php @@ -0,0 +1,16 @@ +Application->getModule('auth')->logout(); + $this->Response->redirect( + $this->Service->ConstructUrl(NULL) + ); + } + +} + +?> -- cgit v1.2.3