- <?php
-
- /**
- * Class file.
- *
- * @license http://opensource.org/licenses/mozilla1.1.php Mozilla Public License
- * @copyright 2005, diemeisterei GmbH. All rights reserved.
- * @author $Author: schmunk $
- * @version $Revision: 188 $ $Date: 2006-05-11 10:50:16 +0200 (Do, 11 Mai 2006) $
- * @package Lithron
- */
-
- /**
- * Performs logout
- *
- * @todo
- * @package Lithron
- * @subpackage Pages
- */
- class UserLogout extends TPage
- {
- /**
- * @ignore
- */
- public function onInit($param)
- {
- $this->Application->getModule('auth')->logout();
- #$this->Response->redirect($this->Service->constructUrl($this->Service->getDefaultPage()));
- $url= $this->Request->constructUrl("page", "packages.UserLogin");
- $this->Response->redirect($url);
- parent :: onInit($param);
- }
-
- }
- ?>