Merge pull request #208 from zentyal/jgarcia/wocontext-fun

User context activation when cached
This commit is contained in:
Enrique J. Hernández
2015-11-18 06:56:16 +01:00
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -73,6 +73,8 @@ static NSMapTable *contextsTable = nil;
[userContext autorelease];
[contextsTable setObject: userContext forKey: username];
}
else
[userContext activate];
return userContext;
}