Code

removed defaults from get_cfg_value and added some missing properties.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 07:41:52 +0000 (07:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 07:41:52 +0000 (07:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18325 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/password-methods/class_password-methods.inc

index 259d98ded157dd3bb9850ada11f942dc38b38611..002740798f845c7f62c8217aa442023c1bee97a1 100644 (file)
@@ -323,7 +323,7 @@ class passwordMethod
   {
       global $config;
 
-      if ($config->get_cfg_value("core","strictPasswordRules", "true") == "true") {
+      if ($config->boolValueIsTrue("core","strictPasswordRules")) {
           // Do we have UTF8 characters in the password?
           return ($password == utf8_decode($password));
       }