summaryrefslogtreecommitdiff
path: root/demos/controls/protected/pages/private/MemberPage.php
diff options
context:
space:
mode:
authorxue <>2005-11-16 22:32:52 +0000
committerxue <>2005-11-16 22:32:52 +0000
commit6c1b05deafd9940da5d473800032558df90b118e (patch)
tree3435de08a595fab3ca71ed41f3a88cc9ab6e2995 /demos/controls/protected/pages/private/MemberPage.php
parent65acec4f65ddefcb3e9f9762d958be0539f3f71a (diff)
Key modules are now using registered to application rather than using reserved module names.
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'));
}
}