diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-04-19 06:56:52 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-04-19 06:56:52 +0000 |
| commit | 2c79c401f0c4fc90ecd9fc06ae1eb5dbf8a3dca2 (patch) | |
| tree | 339546a033fafd1ad32e2400f556857e2a3326e2 /roundcubemail/program/include/rcube.php | |
| parent | 1cd0d8c483f99cad1bd4e43e6fa9e3b6ec785931 (diff) | |
- Fix incorrect cache ttl used in get_cache_engine() (#1488447), use time() where mktime() without arguments was used
git-svn-id: https://svn.roundcube.net/trunk@6101 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube.php')
| -rw-r--r-- | roundcubemail/program/include/rcube.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube.php b/roundcubemail/program/include/rcube.php index 6064a7287..2566defa8 100644 --- a/roundcubemail/program/include/rcube.php +++ b/roundcubemail/program/include/rcube.php @@ -486,7 +486,7 @@ class rcube public function temp_gc() { $tmp = unslashify($this->config->get('temp_dir')); - $expire = mktime() - 172800; // expire in 48 hours + $expire = time() - 172800; // expire in 48 hours if ($tmp && ($dir = opendir($tmp))) { while (($fname = readdir($dir)) !== false) { |
