From 45fa904199a0f72c12048b452bbd6590dcbfeb60 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 10:16:07 +0000 Subject: [PATCH] Added missing properties git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18196 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_config.inc | 4 ++-- gosa-core/include/class_core.inc | 12 +++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) 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", -- 2.30.2