summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Common/MainMenu.php
blob: a2334c036d4c728d51788c4521aee8bd0d44e0ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

class MainMenu extends TTemplateControl
{
	public function logout($sender,$param)
	{
		$this->Application->getModule('auth')->logout();
		$this->Response->redirect($this->Service->constructUrl('Home'));
	}
}

?>