| | |
| | | | program/include/session.inc | |
| | | | | |
| | | | This file is part of the RoundCube Webmail client | |
| | | | Copyright (C) 2005-2008, RoundCube Dev. - Switzerland | |
| | | | Copyright (C) 2005-2009, RoundCube Dev. - Switzerland | |
| | | | Licensed under the GNU GPL | |
| | | | | |
| | | | PURPOSE: | |
| | |
| | | return false; |
| | | } |
| | | |
| | | if ($rcmail->config->get('enable_caching')) |
| | | rcmail_message_cache_gc(); |
| | | |
| | | // just delete all expired sessions |
| | | $DB->query("DELETE FROM " . get_table_name('session') . " |
| | | WHERE changed < " . $now); |
| | | WHERE changed < " . $DB->fromunixtime(time() - $maxlifetime)); |
| | | |
| | | if ($rcmail->config->get('enable_caching')) |
| | | rcmail_cache_gc(); |
| | | |
| | | rcmail_temp_gc(); |
| | | |