summaryrefslogtreecommitdiff
path: root/demos/blog/protected/Portlets/AccountPortlet.php
blob: 0f0e60c694bf90bd7555d7cf1b213ad5f2508951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

Prado::using('Application.Portlets.Portlet');

class AccountPortlet extends Portlet
{
	public function logout($sender,$param)
	{
		$this->Application->getModule('auth')->logout();
		$this->Response->reload();
	}
}

?>