From: hickert Date: Mon, 3 May 2010 13:49:16 +0000 (+0000) Subject: Updated class user. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3d2eaa0361d0ddf29dcd89fd93f6b67af6fd27f8;p=gosa.git Updated class user. -We were checking for a configuration value while the config wasn't build completely. Seems to be a random result. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18025 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index fb3b1b04f..5f73b01d9 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -1732,13 +1732,13 @@ class user extends plugin ); - /* Append government attributes if required */ - global $config; - if($config->get_cfg_value("honourIvbbAttributes") == "true"){ - foreach($govattrs as $attr => $desc){ - $ret["plProvidedAcls"][$attr] = $desc; - } - } +# /* Append government attributes if required */ +# global $config; +# if($config->get_cfg_value("honourIvbbAttributes") == "true"){ +# foreach($govattrs as $attr => $desc){ +# $ret["plProvidedAcls"][$attr] = $desc; +# } +# } return($ret); }