Code

Firxed groupApplication remove_from parent
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 May 2006 06:38:22 +0000 (06:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 May 2006 06:38:22 +0000 (06:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3245 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupApplication.inc

index edb9cfae3061b113473562ff5d4c40473bd19aa8..b7e18d58a5de80ee2d0f2aa584c4af45b87510d3 100644 (file)
@@ -24,7 +24,7 @@ class appgroup extends plugin
   var $curCatDepth              =0;         //
 
   /* attribute list for save action */
-  var $attributes               = array("gosaMemberApplication");
+  var $attributes               = array("gosaMemberApplication","gosaApplicationParameter");
   var $objectclasses            = array("gosaApplicationGroup");
 
   var $FAIrelease               = "/";
@@ -36,6 +36,7 @@ class appgroup extends plugin
   var $AllAppsForReleaseParameter = array();
 
   var $CopyPasteVars            = array("Categories");
+  var $gosaApplicationParameter ;
 
 
   function appgroup ($config, $dn= NULL)
@@ -832,12 +833,11 @@ class appgroup extends plugin
   {
     plugin::remove_from_parent();
 
-    $this->attrs["gosaMemberApplication"]= array();
-
     $ldap= $this->config->get_ldap_link();
     $ldap->cd($this->dn);
     $this->cleanup();
-$ldap->modify ($this->attrs); 
+    
+    $ldap->modify ($this->attrs); 
 
     show_ldap_error($ldap->get_error());