diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/protected700/layout/MainLayout.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected700/layout/MainLayout.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected700/layout/MainLayout.php b/tests/FunctionalTests/tickets/protected700/layout/MainLayout.php new file mode 100644 index 00000000..3e0a3d19 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected700/layout/MainLayout.php @@ -0,0 +1,12 @@ +<?php
+
+class MainLayout extends TTemplateControl
+{
+ public function logout($sender,$param)
+ {
+ $this->Application->getModule('auth')->logout();
+ $this->Response->reload();
+ }
+}
+
+?>
\ No newline at end of file |