diff options
author | xue <> | 2005-12-28 20:17:54 +0000 |
---|---|---|
committer | xue <> | 2005-12-28 20:17:54 +0000 |
commit | e8b60312037e54c34a06d6f57d7c21946cf3cd1f (patch) | |
tree | a6f35f5d4bb921998ca306602a33fc03ba47c4b5 /framework/Security/TUserManager.php | |
parent | 930c51a6d618d487105cd46c517f36c3b1fe3b44 (diff) |
Modified the way to access application singleton.
IService and IModule interfaces are also adjusted accordingly.
Diffstat (limited to 'framework/Security/TUserManager.php')
-rw-r--r-- | framework/Security/TUserManager.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/Security/TUserManager.php b/framework/Security/TUserManager.php index 8faa7f96..7ecf357d 100644 --- a/framework/Security/TUserManager.php +++ b/framework/Security/TUserManager.php @@ -225,12 +225,11 @@ class TUserManager extends TModule * Initializes the module.
* This method is required by IModule and is invoked by application.
* It loads user/role information from the module configuration.
- * @param TApplication application
* @param TXmlElement module configuration
*/
- public function init($application,$config)
+ public function init($config=null)
{
- parent::init($application,$config);
+ parent::init($config);
if($this->_userFile!==null)
{
|