mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
silence parning on unlink, by passing the correct file WITH path-info
This commit is contained in:
parent
700d0d78e5
commit
fbcad67cc1
@ -2853,7 +2853,7 @@ class mail_compose
|
||||
while(list($key,$value) = @each($this->sessionData['attachments'])) {
|
||||
#print "$key: ".$value['file']."<br>";
|
||||
if (!empty($value['file']) && parse_url($value['file'],PHP_URL_SCHEME) != 'vfs') { // happens when forwarding mails
|
||||
unlink($value['file']);
|
||||
unlink($GLOBALS['egw_info']['server']['temp_dir'].'/'.$value['file']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user