- // Only do this, when the last stored date isn't too long ago
- if ($update && !empty($_SESSION['network_last_date']) && ($bottom_limit > $_SESSION['network_last_date']) &&
- ((time() - $_SESSION['network_last_date_timestamp']) < 60)) {
+ // Only do this, when the last stored date isn't too long ago (10 times the update interval)
+ $browser_update = PConfig::get(local_user(), 'system', 'update_interval', 40000) / 1000;
+
+ if (($browser_update > 0) && $update && !empty($_SESSION['network_last_date']) &&
+ (($bottom_limit < $_SESSION['network_last_date']) || ($top_limit == $bottom_limit)) &&
+ ((time() - $_SESSION['network_last_date_timestamp']) < ($browser_update * 10))) {