From 6a8b4c2951314441e670d89204dd3b913698b23d Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 19 Apr 2012 06:56:52 +0000 Subject: - Fix incorrect cache ttl used in get_cache_engine() (#1488447), use time() where mktime() without arguments was used --- program/include/rcube.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include/rcube.php') diff --git a/program/include/rcube.php b/program/include/rcube.php index 6064a7287..2566defa8 100644 --- a/program/include/rcube.php +++ b/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) { -- cgit v1.2.3