X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fobjectcache%2FMemcachedBagOStuff.php;h=0e133a8813d1c76441f5bf60d2a7ab33c39cd85c;hb=09999942fa994949712edf04333cd375ec20c8f7;hp=54a464de0096aea3fc3a39157ee538a35495e45c;hpb=25505f7839cf91dd8c7f3cc6f98f8f7de78e3abe;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/objectcache/MemcachedBagOStuff.php b/includes/objectcache/MemcachedBagOStuff.php index 54a464de00..0e133a8813 100644 --- a/includes/objectcache/MemcachedBagOStuff.php +++ b/includes/objectcache/MemcachedBagOStuff.php @@ -145,7 +145,7 @@ class MemcachedBagOStuff extends BagOStuff { * TTLs higher than 30 days will be detected as absolute TTLs * (UNIX timestamps), and will result in the cache entry being * discarded immediately because the expiry is in the past. - * Clamp expiries >30d at 30d, unless they're >=1e9 in which + * Clamp expires >30d at 30d, unless they're >=1e9 in which * case they are likely to really be absolute (1e9 = 2011-09-09) * @param int $expiry * @return int @@ -154,7 +154,7 @@ class MemcachedBagOStuff extends BagOStuff { if ( $expiry > 2592000 && $expiry < 1000000000 ) { $expiry = 2592000; } - return (int) $expiry; + return (int)$expiry; } /**