- cleanup

release-0.6
alecpl 17 years ago
parent 5503cc09f1
commit b05575a930

@ -672,7 +672,7 @@ function rcmail_save_attachment(&$message, $pid)
$attachment = rcmail::get_instance()->plugins->exec_hook('save_attachment', $attachment);
if ($attachment['status']) {
unset($attachment['data'], $attachment['status']);
unset($attachment['data'], $attachment['status'], $attachment['content_id']);
return $attachment;
} else if ($path) {
@unlink($path);

Loading…
Cancel
Save