From: hickert Date: Mon, 11 Feb 2008 14:39:18 +0000 (+0000) Subject: Skipp adding removed. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ff0cf6248edec9a158dde727dbe574d876ed7950;p=gosa.git Skipp adding removed. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8829 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication2.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication2.inc index bf9777f57..736c591d7 100644 --- a/gosa-plugins/goto/admin/groups/apps/class_groupApplication2.inc +++ b/gosa-plugins/goto/admin/groups/apps/class_groupApplication2.inc @@ -758,6 +758,11 @@ class appgroup2 extends plugin { $all = $this->_get_all_entries(); + /* Do not add removed */ + if($entry['STATUS'] == "REMOVED"){ + return; + } + if(isset($all[$folder_id])){ $folder = &$all[$folder_id];