summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Common/MainMenu.php
blob: 5e1e95c03f8e93b87cd803210d19502c05d15f1e (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'));
	}
}

?>