summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2e9cc54)
raw | patch | inline | side by side (parent: 2e9cc54)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 May 2010 08:57:58 +0000 (08:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 May 2010 08:57:58 +0000 (08:57 +0000) |
-Do not display potential error messages while develpmentMode is false
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18503 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18503 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_userinfo.inc | patch | blob | history |
index 615b49fcb49bb01581d63ed7cd36d8f9d54f954d..c69ef528ea0a9a759db25124bbff2f7feba9d6e5 100644 (file)
$aclCategory = $object;
}
- if($this->config->get_cfg_value("core","displayErrors") == "true"){
+ if($this->config->boolValueIsTrue("core","developmentMode")){
+
if(!isset($this->ocMapping[$aclCategory])){
trigger_error("Invalid ACL category '".$aclCategory."'! ({$object})");
return("");
}
}
}else{
- if($this->config->get_cfg_value("core","displayErrors") == "true"){
+ if($this->config->boolValueIsTrue("core","developmentMode")){
trigger_error("Invalid type of category ".$category);
}
$acl = "";