summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 65ebaf3)
raw | patch | inline | side by side (parent: 65ebaf3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 10:16:07 +0000 (10:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 10:16:07 +0000 (10:16 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18196 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_config.inc | patch | blob | history | |
gosa-core/include/class_core.inc | patch | blob | history |
index c11a7dbbfcfb596362cf685c938e12dd31b3db00..062bb253103752117ede64fd333f700828ccc997 100644 (file)
}
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'));
}
}
index 34aeffab719c73c1bebcf52bba76c5a6c94d0cbf..586a8155ba21ec20b7d088a3f071281e0df2fbf3 100644 (file)
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",
"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",