From 6c1b05deafd9940da5d473800032558df90b118e Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 16 Nov 2005 22:32:52 +0000 Subject: Key modules are now using registered to application rather than using reserved module names. --- demos/controls/protected/pages/private/MemberPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/controls/protected/pages/private/MemberPage.php') 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')); } } -- cgit v1.2.3