diff options
author | xue <> | 2006-09-04 18:12:17 +0000 |
---|---|---|
committer | xue <> | 2006-09-04 18:12:17 +0000 |
commit | e83edc3f20163ac25e2307f9c854e7bc9384970c (patch) | |
tree | b5b22b7255a7b56168cea239108958e9a0fd6893 /framework/Security | |
parent | 85509ff45f9ae8795b7f6ef2c58a45d8a574f939 (diff) |
Finished updating code related with enumerable data types.
Diffstat (limited to 'framework/Security')
-rw-r--r-- | framework/Security/TSecurityManager.php | 2 | ||||
-rw-r--r-- | framework/Security/TUserManager.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/Security/TSecurityManager.php b/framework/Security/TSecurityManager.php index 6c227c8e..89f3711a 100644 --- a/framework/Security/TSecurityManager.php +++ b/framework/Security/TSecurityManager.php @@ -137,7 +137,7 @@ class TSecurityManager extends TModule */
public function setValidation($value)
{
- $this->_validation=TPropertyValue::ensureEnumerable($value,'TSecurityManagerValidationMode');
+ $this->_validation=TPropertyValue::ensureEnum($value,'TSecurityManagerValidationMode');
}
/**
diff --git a/framework/Security/TUserManager.php b/framework/Security/TUserManager.php index 8d91c92a..c0bbe65d 100644 --- a/framework/Security/TUserManager.php +++ b/framework/Security/TUserManager.php @@ -198,7 +198,7 @@ class TUserManager extends TModule implements IUserManager */
public function setPasswordMode($value)
{
- $this->_passwordMode=TPropertyValue::ensureEnumerable($value,'TUserManagerPasswordMode');
+ $this->_passwordMode=TPropertyValue::ensureEnum($value,'TUserManagerPasswordMode');
}
/**
|