mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-26 13:55:23 +00:00
See Changelog.
Monotone-Parent: 1e456d9a08ec90bd4e7fad4909eecfaa354aed5a Monotone-Revision: c2868ffdea9d34b226e1f85e0a8de47117a91bb5 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-07-08T17:38:27 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -261,6 +261,7 @@ static NSString *inboxFolderName = @"INBOX";
|
||||
{
|
||||
// A soft quota ratio is imposed for all users
|
||||
quota = quota * [(NSNumber*)[inboxQuota objectForKey: @"maxQuota"] intValue];
|
||||
NSLog(@"*** quota %@/%@", [inboxQuota objectForKey: @"usedSpace"], [inboxQuota objectForKey: @"maxQuota"]);
|
||||
inboxQuota = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
[NSNumber numberWithLong: (long)(quota+0.5)], @"maxQuota",
|
||||
[inboxQuota objectForKey: @"usedSpace"], @"usedSpace",
|
||||
|
||||
@@ -1167,17 +1167,11 @@ static NSString *defaultUserID = @"anyone";
|
||||
|
||||
- (NSString *) httpURLForAdvisoryToUser: (NSString *) uid
|
||||
{
|
||||
SOGoUser *user;
|
||||
NSString *otherUsersPath, *url;
|
||||
SOGoMailAccount *thisAccount;
|
||||
NSDictionary *mailAccount;
|
||||
|
||||
user = [SOGoUser userWithLogin: uid roles: nil];
|
||||
otherUsersPath = [self otherUsersPathToFolder];
|
||||
if (otherUsersPath)
|
||||
{
|
||||
thisAccount = [self mailAccountFolder];
|
||||
mailAccount = [[user mailAccounts] objectAtIndex: 0];
|
||||
url = [NSString stringWithFormat: @"%@/0%@",
|
||||
[self soURLToBaseContainerForUser: uid],
|
||||
otherUsersPath];
|
||||
|
||||
Reference in New Issue
Block a user