aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-12 17:10:19 -0800
committerfriendica <info@friendica.com>2011-12-12 17:10:19 -0800
commite74a960327a0bf14ac3699fa9a28939ed22ae356 (patch)
tree584afb8f50f3870467992761ac363b6d647bd7bf /mod/settings.php
parent01cae9a50af5207f014c99f9a97b7b93d70eaaa2 (diff)
downloadvolse-hubzilla-e74a960327a0bf14ac3699fa9a28939ed22ae356.tar.gz
volse-hubzilla-e74a960327a0bf14ac3699fa9a28939ed22ae356.tar.bz2
volse-hubzilla-e74a960327a0bf14ac3699fa9a28939ed22ae356.zip
change default ajax interval to 40 seconds
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/settings.php b/mod/settings.php
index e88e50a05..18e2d8ae6 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -227,7 +227,7 @@ function settings_post(&$a) {
$browser_update = ((x($_POST,'browser_update')) ? intval($_POST['browser_update']) : 0);
$browser_update = $browser_update * 1000;
if($browser_update < 10000)
- $browser_update = 30000;
+ $browser_update = 40000;
$allow_location = (((x($_POST,'allow_location')) && (intval($_POST['allow_location']) == 1)) ? 1: 0);
@@ -625,8 +625,8 @@ function settings_content(&$a) {
$suggestme = get_pconfig(local_user(), 'system','suggestme');
$suggestme = (($suggestme===false)?0:$suggestme); // default if not set: 0
- $browser_update = get_pconfig(local_user(), 'system','update_interval');
- $browser_update = (($browser_update===false)? 30 : $browser_update / 1000); // default if not set: 30 seconds
+ $browser_update = intval(get_pconfig(local_user(), 'system','update_interval'));
+ $browser_update = (($browser_update===false)? 40 : $browser_update / 1000); // default if not set: 40 seconds
if(! strlen($a->user['timezone']))
$timezone = date_default_timezone_get();