diff options
author | Alexandre Emsenhuber <mediawiki@emsenhuber.ch> | 2014-02-06 20:19:09 +0100 |
---|---|---|
committer | Ori.livneh <ori@wikimedia.org> | 2014-03-14 22:33:21 +0000 |
commit | 153abd52fd02f2a5919631fe5d02d2eb1a66f469 (patch) | |
tree | b082176ac8d9c08958ae585a0b36afed3384c9fb /includes/AjaxResponse.php | |
parent | 96b04cef361c26bbc6b76be6afbf298e4d22fed3 (diff) | |
download | mediawikicore-153abd52fd02f2a5919631fe5d02d2eb1a66f469.tar.gz mediawikicore-153abd52fd02f2a5919631fe5d02d2eb1a66f469.zip |
Correct the destination of checkLastModified debug messages
- OutputPage: if $wgCachePages is set to false, then it can be shown
back to the user
- AjaxResponder: don't send back to the user (for consistency with the
other calls to wfDebug(), and this can't be displayed to the user)
Change-Id: I17794016cfaef65ee3df3b82ceb8cb3a32ac7c67
Diffstat (limited to 'includes/AjaxResponse.php')
-rw-r--r-- | includes/AjaxResponse.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php index ac8a9f097d2e..334cee37728c 100644 --- a/includes/AjaxResponse.php +++ b/includes/AjaxResponse.php @@ -215,7 +215,7 @@ class AjaxResponse { $fname = 'AjaxResponse::checkLastModified'; if ( !$timestamp || $timestamp == '19700101000000' ) { - wfDebug( "$fname: CACHE DISABLED, NO TIMESTAMP\n" ); + wfDebug( "$fname: CACHE DISABLED, NO TIMESTAMP\n", 'log' ); return false; } |