From: hickert Date: Mon, 10 May 2010 10:16:07 +0000 (+0000) Subject: Added missing properties X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=45fa904199a0f72c12048b452bbd6590dcbfeb60;p=gosa.git Added missing properties git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18196 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index c11a7dbbf..062bb2531 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -334,8 +334,8 @@ class config { } if (!session::global_is_set('size_limit')){ - session::global_set('size_limit',$this->current['LDAPSIZELIMIT']); - session::global_set('size_ignore',$this->current['LDAPSIZEIGNORE']); + session::global_set('size_limit', $this->get_cfg_value('core', 'ldapSizeLimit')); + session::global_set('size_ignore', $this->boolValueIsTrue('core', 'ldapSizeIgnore')); } } diff --git a/gosa-core/include/class_core.inc b/gosa-core/include/class_core.inc index 34aeffab7..586a8155b 100644 --- a/gosa-core/include/class_core.inc +++ b/gosa-core/include/class_core.inc @@ -212,7 +212,7 @@ class core extends plugin { array( "name" => "ldapSizelimit", - "type" => "bool", + "type" => "integer", "default" => 200, "description" => _("The ldapSizelimit statement tells GOsa to retrieve the specified maximum number of results. The user will get a warning, that not all entries were shown."), "check" => "gosaProperty::isInteger", @@ -220,6 +220,16 @@ class core extends plugin { "group" => "core", "mandatory" => TRUE), + array( + "name" => "ldapSizeIgnore", + "type" => "bool", + "default" => "false", + "description" => _("Disables sizelimit checks, only the configured amount of results will be shown!"), + "check" => "gosaProperty::isBool", + "migrate" => "", + "group" => "core", + "mandatory" => FALSE), + array( "name" => "warnSSL", "type" => "bool",