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

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