Code

Updated application class to support new cleanup method
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 13 Feb 2006 12:07:40 +0000 (12:07 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 13 Feb 2006 12:07:40 +0000 (12:07 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2674 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/applications/class_applicationGeneric.inc

index a61e7994bbfcb076122bea1da11e77eb29555aff..8472a17413c5d24868bc1f2897c4040f3a831067 100644 (file)
@@ -22,7 +22,7 @@ class application extends plugin
   var $applications= array();
 
   /* attribute list for save action */
-  var $attributes= array("cn", "description", "gosaApplicationExecute", "gosaApplicationName",
+  var $attributes= array("cn", "description", "gosaApplicationExecute", "gosaApplicationName","gosaApplicationIcon",
                        "gosaApplicationFlags","gotoLogonScript");
   var $objectclasses= array("top", "gosaApplication");
 
@@ -34,6 +34,7 @@ class application extends plugin
        $ldap= $config->get_ldap_link();
        if ($dn != 'new'){
                $this->iconData= $ldap->get_attribute($dn, "gosaApplicationIcon");
+               $this->saved_attributes['gosaApplicationIcon'] = $this->iconData;
        }
        if ($this->iconData == ""){
                $this->set_picture("");