X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FAjaxResponse.php;h=d5536529e9846b9a308aabd7dc9a93ed44cd51a0;hb=075b90235e86de663c000db2c90253509bb97375;hp=6bf94ccb7552a92a042034d5ccb10de5cda8588c;hpb=575019d19c99e12615a4d76c98779799a7137f0c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php index 6bf94ccb75..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 @@ -204,13 +204,13 @@ class AjaxResponse { /** * checkLastModified tells the client to use the client-cached response if - * possible. If sucessful, the AjaxResponse is disabled so that + * possible. If successful, the AjaxResponse is disabled so that * any future call to AjaxResponse::printText() have no effect. * * @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';