R49724 - /branches/14.1/mail/inc/class.mail_compose.inc.php

Author: leithoff
New Revision: 49724

URL: http://svn.stylite.de/viewvc/egroupware?rev=49724&view=rev
Log:
silence parning on unlink, by passing the correct file WITH path-info

Modified:
branches/14.1/mail/inc/class.mail_compose.inc.php

Modified: branches/14.1/mail/inc/class.mail_compose.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/branches/14.1/mail/inc/class.mail_compose.inc.php?rev=49724&r1=49723&r2=49724&view=diff

— branches/14.1/mail/inc/class.mail_compose.inc.php (original)
+++ branches/14.1/mail/inc/class.mail_compose.inc.php Fri Dec 5 12:59:16 2014
@@ -2853,7 +2853,7 @@
while(list($key,$value) = @each($this->sessionData[‘attachments’])) {
#print “$key: “.$value[‘file’].”
”;
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']);
      		}
      	}
      }
    

Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs