Merge "Move seperators from digits transforms to seperator transforms"
[lhc/web/wiklou.git] / includes / libs / objectcache / WANObjectCache.php
index f5c561f..ae7f36c 100644 (file)
@@ -1558,7 +1558,7 @@ class WANObjectCache implements IExpiringStore, LoggerAwareInterface {
                        return $minTTL; // no last-modified time provided
                }
 
-               $age = time() - $mtime;
+               $age = $this->getCurrentTime() - $mtime;
 
                return (int)min( $maxTTL, max( $minTTL, $factor * $age ) );
        }