New prefs for intervals, fixed missing events in meeting requests, bumped v14.1

This commit is contained in:
Ludovic Marcotte
2014-02-10 20:16:43 -05:00
parent ea4b21e991
commit b14e99b32a
4 changed files with 124 additions and 53 deletions
+37 -4
View File
@@ -1,11 +1,8 @@
/* SOGoSystemDefaults.m - this file is part of SOGo
*
* Copyright (C) 2009-2013 Inverse inc.
* Copyright (C) 2009-2014 Inverse inc.
* Copyright (C) 2012 Jeroen Dekkers <jeroen@dekkers.ch>
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Francis Lachapelle <flachapelle@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
@@ -582,4 +579,40 @@ _injectConfigurationFromFile (NSMutableDictionary *defaultsDict,
return v;
}
- (int) maximumPingInterval
{
int v;
v = [self integerForKey: @"SOGoMaximumPingInterval"];
if (!v)
v = 5;
return v;
}
- (int) maximumSyncInterval
{
int v;
v = [self integerForKey: @"SOGoMaximumSyncInterval"];
if (!v)
v = 30;
return v;
}
- (int) internalSyncInterval
{
int v;
v = [self integerForKey: @"SOGoInternalSyncInterval"];
if (!v)
v = 10;
return v;
}
@end