From: hickert Date: Tue, 11 May 2010 07:42:08 +0000 (+0000) Subject: removed defaults from get_cfg_value and added some missing properties. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=338470ac8a10ee2c0dfdbbd1bfe88c3642808150;p=gosa.git removed defaults from get_cfg_value and added some missing properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18331 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/password/class_password.inc b/gosa-core/plugins/personal/password/class_password.inc index cfc49c939..7b66ddcf3 100644 --- a/gosa-core/plugins/personal/password/class_password.inc +++ b/gosa-core/plugins/personal/password/class_password.inc @@ -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") != "";