summaryrefslogtreecommitdiff
path: root/demos/controls/protected/pages/private/MemberPage.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/controls/protected/pages/private/MemberPage.php')
-rw-r--r--demos/controls/protected/pages/private/MemberPage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/controls/protected/pages/private/MemberPage.php b/demos/controls/protected/pages/private/MemberPage.php
index 61fd113d..ecec9e4d 100644
--- a/demos/controls/protected/pages/private/MemberPage.php
+++ b/demos/controls/protected/pages/private/MemberPage.php
@@ -4,7 +4,7 @@ class MemberPage extends TPage
{
public function logout($sender,$param)
{
- $this->Application->AuthManager->logout();
+ $this->Application->getModule('auth')->logout();
$this->Application->Response->redirect($this->Application->Service->constructUrl('home'));
}
}