From 7e0b0798997b197d57d09ef5e690afdb1e6a2712 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 29 Dec 2005 01:16:29 +0000 Subject: Changed module init() method signature. --- framework/Security/TAuthManager.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'framework/Security/TAuthManager.php') diff --git a/framework/Security/TAuthManager.php b/framework/Security/TAuthManager.php index d0dc6718..327104cc 100644 --- a/framework/Security/TAuthManager.php +++ b/framework/Security/TAuthManager.php @@ -63,10 +63,8 @@ class TAuthManager extends TModule * @param TXmlElement configuration for this module, can be null * @throws TConfigurationException if user manager does not exist or is not TUserManager */ - public function init($config=null) + public function init($config) { - parent::init($config); - if($this->_userManager===null) throw new TConfigurationException('authmanager_usermanager_required'); $application=$this->getApplication(); -- cgit v1.2.3