Code

Added last check, ..... ....
[gosa.git] / plugins / admin / systems / class_glpiAttachmentPool.inc
index 896ed980bb6407af1f6a73f3dd47c8c22ab5e4d0..25c39880cf02135af620abad071c9e72134c6f3c 100644 (file)
@@ -113,6 +113,7 @@ class glpiAttachmentPool extends plugin
 
       }else{
         $this->parent->handle->deleteAttachment($this->delAttach);
+        @unlink("/etc/gosa/glpi/".$this->filename);
         $attach     = $this->parent->handle->getAttachments();
       }
     }