Monotone-Parent: c63043930112867a49e597782a3e8abfc45f8d27

Monotone-Revision: 3b6b3a0c9997e878297c4afee55f37405eef1aad

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-07-10T14:21:08
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-07-10 14:21:08 +00:00
parent d621f36c2c
commit 8682bd0a6e
7 changed files with 0 additions and 66 deletions
-8
View File
@@ -30,17 +30,9 @@
static NSString *spoolFolder = nil;
+ (int)version {
return [super version] + 0 /* v1 */;
}
+ (void)initialize {
NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
NSAssert2([super version] == 1,
@"invalid superclass (%@) version %i !",
NSStringFromClass([self superclass]), [super version]);
spoolFolder = [[ud stringForKey:@"SOGoMailSpoolPath"] copy];
if ([spoolFolder length] < 3)
spoolFolder = @"/tmp/";