dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update formatting for media related classes
[lhc/web/wiklou.git]
/
includes
/
AjaxResponse.php
diff --git
a/includes/AjaxResponse.php
b/includes/AjaxResponse.php
index
23c31bf
..
d553652
100644
(file)
--- 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 ) {
# tell the client to use a cached copy, without a way to purge it.
if ( $wgUseSquid ) {
- # Expect explicit
e
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
# 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.
*/
* @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';
global $wgCachePages, $wgCacheEpoch, $wgUser;
$fname = 'AjaxResponse::checkLastModified';