From 862d389eeae4c3776217f1fd0aa2dc1c2e0e1dce Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 10 Dec 2008 12:47:26 +0000 Subject: [PATCH] Updated groups -Do not display size limit warnings in constructor git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13241 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/groups/class_groupGeneric.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-core/plugins/admin/groups/class_groupGeneric.inc b/gosa-core/plugins/admin/groups/class_groupGeneric.inc index 1229fcdf4..59ad363be 100644 --- a/gosa-core/plugins/admin/groups/class_groupGeneric.inc +++ b/gosa-core/plugins/admin/groups/class_groupGeneric.inc @@ -226,7 +226,7 @@ class group extends plugin /* This is always an account */ $this->is_account= TRUE; - $this->reload(); + $this->reload(TRUE); } function execute() @@ -641,7 +641,7 @@ class group extends plugin } /* Reload data */ - function reload() + function reload($silent = FALSE) { /* Fix regex string */ $gufilter = session::get("gufilter"); @@ -724,7 +724,7 @@ class group extends plugin } /* If more than max users are found, display a message to warn the user */ - if($i == $MaxUser){ + if($i == $MaxUser && !$silent){ msg_dialog::display(_("Configuration error"), sprintf(_("Search returned too many results. Not displaying more than %s entries!"), $MaxUser), ERROR_DIALOG); } -- 2.30.2