aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r--phpBB/includes/session.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 200c4e3227..306a7e36e1 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -270,12 +270,12 @@ class session
$this->data = array();
- // Garbage collection ... remove old sessions updating user information
+ /* Garbage collection ... remove old sessions updating user information
// if necessary. It means (potentially) 11 queries but only infrequently
if ($this->time_now > $config['session_last_gc'] + $config['session_gc'])
{
$this->session_gc();
- }
+ }*/
// Do we allow autologin on this board? No? Then override anything
// that may be requested here
@@ -674,7 +674,7 @@ class session
{
// Less than 5 sessions, update gc timer ... else we want gc
// called again to delete other sessions
- set_config('session_last_gc', $this->time_now);
+ set_config('session_last_gc', $this->time_now, true);
}
break;
}