X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FCacheTime.php;h=2451390dc298580ab910f03f41950dac874e2f14;hb=23ae30d61cca3148451d0b1971d2d466fb6aebad;hp=7acfe38cfca2a1f14a17e7ca52e9f1b54f20bc70;hpb=254b163a9605c5f2e92c7b76158a8e8166efbbce;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/CacheTime.php b/includes/parser/CacheTime.php index 7acfe38cfc..2451390dc2 100644 --- a/includes/parser/CacheTime.php +++ b/includes/parser/CacheTime.php @@ -93,11 +93,6 @@ class CacheTime { if ( $this->mCacheExpiry === null || $this->mCacheExpiry > $seconds ) { $this->mCacheExpiry = $seconds; } - - // hack: set old-style marker for uncacheable entries. - if ( $this->mCacheExpiry !== null && $this->mCacheExpiry <= 0 ) { - $this->mCacheTime = -1; - } } /**