X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FAjaxResponse.php;h=d5536529e9846b9a308aabd7dc9a93ed44cd51a0;hb=acd231fa2423d8d64f864c697b2d9d91700ff1b3;hp=23c31bf9da7ae70b31e8c3803f0661ea0856d7ec;hpb=b5f6fcb087098ac6f5e2f80c0e84b790bc44da16;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php index 23c31bf9da..d5536529e9 100644 --- a/includes/AjaxResponse.php +++ b/includes/AjaxResponse.php @@ -172,7 +172,7 @@ class AjaxResponse { # tell the client to use a cached copy, without a way to purge it. if ( $wgUseSquid ) { - # Expect explicite purge of the proxy cache, but require end user agents + # Expect explicit purge of the proxy cache, but require end user agents # to revalidate against the proxy on each visit. # Surrogate-Control controls our Squid, Cache-Control downstream caches @@ -210,7 +210,7 @@ class AjaxResponse { * @param $timestamp string * @return bool Returns true if the response code was set to 304 Not Modified. */ - function checkLastModified ( $timestamp ) { + function checkLastModified( $timestamp ) { global $wgCachePages, $wgCacheEpoch, $wgUser; $fname = 'AjaxResponse::checkLastModified';