From: cajus Date: Mon, 27 Jun 2005 09:41:31 +0000 (+0000) Subject: Removed obsolete filter setting X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f47171d3de6038165bfb60760a6c2ae8bc562af1;p=gosa.git Removed obsolete filter setting git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@872 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/ogroups/class_ogroupManagement.inc b/plugins/admin/ogroups/class_ogroupManagement.inc index 819838271..15eb4b506 100644 --- a/plugins/admin/ogroups/class_ogroupManagement.inc +++ b/plugins/admin/ogroups/class_ogroupManagement.inc @@ -60,7 +60,6 @@ class ogroupManagement extends plugin "servergroups" => "checked", "wsgroups" => "checked", "prtgroups" => "checked", - "emptygroups" => "checked", "tcgroups" => "checked", "fongroups" => "checked", "depselect" => $base, @@ -83,7 +82,7 @@ class ogroupManagement extends plugin } } if (isset($_POST['depselect'])){ - foreach( array("usergroups", "groupgroups", "appgroups", "depgroups", "emptygroups", + foreach( array("usergroups", "groupgroups", "appgroups", "depgroups", "servergroups", "wsgroups", "prtgroups", "tcgroups", "fongroups") as $type){ if (isset($_POST[$type])) { @@ -285,7 +284,7 @@ class ogroupManagement extends plugin $smarty->assign("groups", $this->convert_list($this->grouplist)); - foreach( array("usergroups", "groupgroups", "appgroups", "depgroups", "emptygroups", + foreach( array("usergroups", "groupgroups", "appgroups", "depgroups", "servergroups", "wsgroups", "prtgroups", "tcgroups", "fongroups", "regex", "depselect") as $type){ $smarty->assign("$type", $ogroupfilter[$type]); } @@ -381,9 +380,6 @@ class ogroupManagement extends plugin if ($ogroupfilter['fongroups'] == "checked"){ $filter.= "(gosaGroupObjects=*F*)"; } - if ($ogroupfilter['emptygroups'] == "checked"){ - $filter.= "(gosaGroupObjects=[])"; - } if ($filter != ""){ $filter= "(&(cn=$regex)(objectClass=gosaGroupOfNames)(|$filter))"; diff --git a/plugins/admin/ogroups/headpage.tpl b/plugins/admin/ogroups/headpage.tpl index 1e8d87277..fb31c5b5d 100644 --- a/plugins/admin/ogroups/headpage.tpl +++ b/plugins/admin/ogroups/headpage.tpl @@ -45,7 +45,6 @@
- {t}Show empty groups{/t}
{t}Show groups containing users{/t}
{t}Show groups containing groups{/t}
{t}Show groups containing applications{/t}