summaryrefslogtreecommitdiff
path: root/program/include/rcube.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-19 06:56:52 +0000
committeralecpl <alec@alec.pl>2012-04-19 06:56:52 +0000
commit6a8b4c2951314441e670d89204dd3b913698b23d (patch)
tree6048896be31fb04bdba552fec9c0eb73841b2794 /program/include/rcube.php
parentb4f95a9387a391054ad37c7cfc988ed66adc4b44 (diff)
- Fix incorrect cache ttl used in get_cache_engine() (#1488447), use time() where mktime() without arguments was used
Diffstat (limited to 'program/include/rcube.php')
-rw-r--r--program/include/rcube.php2
1 files changed, 1 insertions, 1 deletions
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) {