diff options
Diffstat (limited to 'includes/AjaxResponse.php')
-rw-r--r-- | includes/AjaxResponse.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php index 6bf94ccb..d5536529 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'; |