mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-18 01:45:25 +00:00
Monotone-Parent: 37e598aeb2b79c619bb99d9295a63f9ad757d3c7
Monotone-Revision: 9e635b25216d0eadcf76cf6cf3aa6e006edaeca6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-04-05T15:12:27 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -104,8 +104,6 @@ static memcached_st *handle = NULL;
|
||||
|
||||
if ((self = [super init]))
|
||||
{
|
||||
memcached_return error;
|
||||
|
||||
cache = [[NSMutableDictionary alloc] init];
|
||||
users = [[NSMutableDictionary alloc] init];
|
||||
groups = [[NSMutableDictionary alloc] init];
|
||||
@@ -140,7 +138,7 @@ static memcached_st *handle = NULL;
|
||||
servers
|
||||
= memcached_servers_parse([memcachedServerName UTF8String]);
|
||||
|
||||
error = memcached_server_push(handle, servers);
|
||||
memcached_server_push(handle, servers);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -176,7 +176,7 @@ static SoSecurityManager *sm = nil;
|
||||
NSArray *attrs;
|
||||
NSDictionary *row;
|
||||
SOGoGCSFolder *folder;
|
||||
NSString *key, *login;
|
||||
NSString *key;
|
||||
NSException *error;
|
||||
SOGoUser *currentUser;
|
||||
|
||||
@@ -187,7 +187,6 @@ static SoSecurityManager *sm = nil;
|
||||
if (!error)
|
||||
{
|
||||
currentUser = [context activeUser];
|
||||
login = [currentUser login];
|
||||
|
||||
attrs = [fc describeResults: NO];
|
||||
while ((row = [fc fetchAttributes: attrs withZone: NULL]))
|
||||
@@ -470,7 +469,6 @@ static SoSecurityManager *sm = nil;
|
||||
- (BOOL) hasLocalSubFolderNamed: (NSString *) name
|
||||
{
|
||||
NSArray *subs;
|
||||
NSException *error;
|
||||
NSString *currentDisplayName;
|
||||
int i, count;
|
||||
BOOL rc;
|
||||
@@ -478,7 +476,7 @@ static SoSecurityManager *sm = nil;
|
||||
rc = NO;
|
||||
|
||||
#warning check error here
|
||||
error = [self initSubFolders];
|
||||
[self initSubFolders];
|
||||
|
||||
subs = [subFolders allValues];
|
||||
count = [subs count];
|
||||
|
||||
Reference in New Issue
Block a user