Code

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

gosa-core/plugins/personal/password/class_password.inc

index cfc49c939a5ee82ffdc80d478e0ff7a21d1cc6d7..7b66ddcf39a7f3f6fbdef0ac6ccaea6454dddb14 100644 (file)
@@ -56,11 +56,11 @@ class password extends plugin
 
       /* Should we check different characters in new password */
       $check_differ = $this->config->get_cfg_value("core","passwordMinDiffer") != "";
-      $differ       = $this->config->get_cfg_value("core","passwordMinDiffer", 0);
+      $differ       = $this->config->get_cfg_value("core","passwordMinDiffer");
 
       /* Enable length check ? */
       $check_length = $this->config->get_cfg_value("core","passwordMinLength") != "";
-      $length       = $this->config->get_cfg_value("core","passwordMinLength", 0);
+      $length       = $this->config->get_cfg_value("core","passwordMinLength");
 
       /* Call external password quality hook ?*/
       $check_hook   = $this->config->get_cfg_value("core","passwordHook") != "";