Cleanup of unused variables.
Monotone-Parent: 7f72bf38468755bb297376dd8f4ea909be348709 Monotone-Revision: 8c19f19f3be5a4b6fb34ceeaab91ee58b54610d1 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-07-08T01:34:36 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
3fa292756b
commit
b6bd0c4497
|
@ -981,9 +981,6 @@ static NSString *userAgent = nil;
|
|||
*/
|
||||
NGMutableHashMap *map;
|
||||
NGMimeBodyPart *bodyPart;
|
||||
SOGoUserDefaults *ud;
|
||||
|
||||
ud = [[context activeUser] userDefaults];
|
||||
|
||||
/* prepare header of body part */
|
||||
|
||||
|
@ -1014,12 +1011,9 @@ static NSString *userAgent = nil;
|
|||
- (NGMimeMessage *) mimeMessageForContentWithHeaderMap: (NGMutableHashMap *) map
|
||||
{
|
||||
NGMimeMessage *message;
|
||||
SOGoUserDefaults *ud;
|
||||
// BOOL addSuffix;
|
||||
id body;
|
||||
|
||||
ud = [[context activeUser] userDefaults];
|
||||
|
||||
[map setObject: @"text/plain" forKey: @"content-type"];
|
||||
body = text;
|
||||
if (body)
|
||||
|
|
|
@ -37,7 +37,7 @@ static unsigned int newCount;
|
|||
|
||||
- (NSString *) generateNameForNewDraft
|
||||
{
|
||||
NSString *newName, *login;
|
||||
NSString *newName;
|
||||
unsigned int currentTime;
|
||||
|
||||
currentTime = [[NSDate date] timeIntervalSince1970];
|
||||
|
@ -49,7 +49,6 @@ static unsigned int newCount;
|
|||
newCount = 1;
|
||||
}
|
||||
|
||||
login = [[context activeUser] login];
|
||||
newName = [NSString stringWithFormat: @"newDraft%u-%u",
|
||||
currentTime, newCount];
|
||||
|
||||
|
|
|
@ -121,13 +121,6 @@ static NSString *inboxFolderName = @"INBOX";
|
|||
NSArray *namespace;
|
||||
NGImap4Client *client;
|
||||
|
||||
SOGoUser *user;
|
||||
NSArray *accounts;
|
||||
NSDictionary *account;
|
||||
|
||||
user = [SOGoUser userWithLogin: [self ownerInContext: nil]];
|
||||
accounts = [user mailAccounts];
|
||||
account = [accounts objectAtIndex: [nameInContainer intValue]];
|
||||
client = [[self imap4Connection] client];
|
||||
namespaceDict = [client namespace];
|
||||
|
||||
|
@ -285,10 +278,9 @@ static NSString *inboxFolderName = @"INBOX";
|
|||
manager = [SOGoSieveManager sieveManagerForUser: [context activeUser]];
|
||||
|
||||
return [manager updateFiltersForLogin: [[self imap4URL] user]
|
||||
authname: [[self imap4URL] user]
|
||||
password: [self imap4PasswordRenewed: NO]
|
||||
account: self];
|
||||
|
||||
authname: [[self imap4URL] user]
|
||||
password: [self imap4PasswordRenewed: NO]
|
||||
account: self];
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue