From 7e25c8d9cc255fbe460c2a970ad7da241c0880bb Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Thu, 18 May 2006 18:18:32 +0000 Subject: - added a few missing log variables - include acp/common.php language file if displaying logs (LOG_ variables should be stored there only now) - added check to cron.php - added database_gc config variable - recalculate binary trees every once a week ;) git-svn-id: file:///svn/phpbb/trunk@5929 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/session.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/includes/session.php') 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; } -- cgit v1.2.1