Code

Fixed problems with removed applications, that don't remove themselves from group...
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Jul 2005 10:20:20 +0000 (10:20 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Jul 2005 10:20:20 +0000 (10:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@998 594d385d-05f5-0310-b6e9-bd551577e9d8

Changelog
plugins/admin/applications/class_applicationGeneric.inc

index 5791711528d7d7b4738268c71b2e4a73cd2b4f98..3eea26c3635f844b065605e2a3bccb714c3eab55 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -1,5 +1,18 @@
 GOsa2 changelog
 ===============
+
+* gosa 2.4beta3
+  - Fixed application removal
+  - Improved accessibility for disabled persons
+  - Added intranet account to list of connectivity plugins
+  - Several kolab related fixes for server objects
+  - Corrected contributed slapd.conf
+  - Fixed kolab mode where GOsa saves KB quotas, interprets quotas as kolab MB
+  - Increased robustnes for non set fields
+  - Fixed IE issues with W3C compatibilty where IE posts disabled fields
+  - Fixed problems with existing samba accounts and password changed fields
+  - Removed login problems with undefined ldap_conf variable
+
 * gosa 2.4beta2
   - Fixed error handler to be PHP 4.x compatible
   - Fixed PHP compatibility problem in setup.php, using ini_get()
index 27cf79eb1084ccbf5b2b05857364cfb76b732f73..8ef8bb24e0d53f0d4e88025103fb85007ea8a96f 100644 (file)
@@ -98,6 +98,7 @@ class application extends plugin
        return($smarty->fetch (get_template_path('generic.tpl', TRUE)));
   }
 
+
   function remove_from_parent()
   {
        $ldap= $this->config->get_ldap_link();
@@ -114,6 +115,12 @@ class application extends plugin
                unset($og->member[$this->dn]);
                $og->save ();
        }
+       $ldap->search ("(&(objectClass=posixGroup)(gosaMemberApplication=".$this->cn."))", array("cn"));
+       while ($attrs= $ldap->fetch()){
+               $ag= new appgroup($this->config, $ldap->getDN());
+               $ag->removeApp($this->cn);
+               $ag->save ();
+       }
 
   }