From 5236709d2432cb18a60c48e8ba3d2dd3089f96c8 Mon Sep 17 00:00:00 2001 From: Robert Hafner Date: Thu, 19 Dec 2013 14:25:32 -0800 Subject: [PATCH] Removed unneeded argument --- src/Stash/Driver/Apc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stash/Driver/Apc.php b/src/Stash/Driver/Apc.php index af4a9d5d..9094bf2c 100644 --- a/src/Stash/Driver/Apc.php +++ b/src/Stash/Driver/Apc.php @@ -165,7 +165,7 @@ protected function makeKey($key) protected function getCacheTime($expiration) { - $life = $expiration - time(true); + $life = $expiration - time(); return $this->ttl > $life ? $this->ttl : $life; }