From 11844283d1bc8bf82c5c6516f2ebdb91dc67dbeb Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 10 May 2016 15:51:32 -0400 Subject: [PATCH] (fix) don't use removeItemAtPath - it is not available on Precise Conflicts: SoObjects/Mailer/SOGoDraftObject.m --- SoObjects/Mailer/SOGoDraftObject.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/Mailer/SOGoDraftObject.m b/SoObjects/Mailer/SOGoDraftObject.m index 333403987..318b5d3ee 100644 --- a/SoObjects/Mailer/SOGoDraftObject.m +++ b/SoObjects/Mailer/SOGoDraftObject.m @@ -1160,7 +1160,7 @@ static NSString *userAgent = nil; pmime = [self pathToAttachmentWithName: [NSString stringWithFormat: @".%@.mime", name]]; if (![[mimeType dataUsingEncoding: NSUTF8StringEncoding] writeToFile: pmime atomically: YES]) { - [[NSFileManager defaultManager] removeItemAtPath: p error: nil]; + [[NSFileManager defaultManager] removeFileAtPath: p handler: nil]; return [NSException exceptionWithHTTPStatus: 500 /* Server Error */ reason: @"Could not write attachment to draft!"]; }