From b171849046fc8d337ce0e5cdc43a36ee51d1315d Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 28 Jan 2008 14:40:02 +0000 Subject: [PATCH] Updated ogroup. -Removed duplicated add & remove git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8623 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/admin/ogroups/class_ogroup.inc | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/gosa-core/plugins/admin/ogroups/class_ogroup.inc index 5e1dec7ae..56f962809 100644 --- a/gosa-core/plugins/admin/ogroups/class_ogroup.inc +++ b/gosa-core/plugins/admin/ogroups/class_ogroup.inc @@ -172,33 +172,6 @@ class ogroup extends plugin return ($display); } - /* Delete objects from group */ - if (isset($_POST['delete_membership']) && isset($_POST['members'])){ - foreach ($_POST['members'] as $value){ - if(isset($this->memberList[$value])){ - $this->objects["$value"]= $this->memberList[$value]; - unset ($this->memberList["$value"]); - unset ($this->member["$value"]); - uasort ($this->objects, 'sort_list'); - reset ($this->objects); - } - } - $this->reload(); - } - - /* Add objects to group */ - if (isset($_POST['add_object_finish']) && isset($_POST['objects'])){ - foreach ($_POST['objects'] as $value){ - if(isset($this->objects[$value])){ - $this->memberList["$value"]= $this->objects[$value]; - $this->member["$value"]= $value; - unset ($this->objects[$value]); - uasort ($this->memberList, 'sort_list'); - reset ($this->memberList); - } - } - $this->reload(); - } /* Load templating engine */ $smarty= get_smarty(); -- 2.30.2