summaryrefslogtreecommitdiff
path: root/framework/Security
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Security')
-rw-r--r--framework/Security/TAuthManager.php4
-rw-r--r--framework/Security/TUserManager.php4
2 files changed, 2 insertions, 6 deletions
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();
diff --git a/framework/Security/TUserManager.php b/framework/Security/TUserManager.php
index 7ecf357d..06b5d321 100644
--- a/framework/Security/TUserManager.php
+++ b/framework/Security/TUserManager.php
@@ -227,10 +227,8 @@ class TUserManager extends TModule
* It loads user/role information from the module configuration.
* @param TXmlElement module configuration
*/
- public function init($config=null)
+ public function init($config)
{
- parent::init($config);
-
if($this->_userFile!==null)
{
if(is_file($this->_userFile))