diff options
Diffstat (limited to 'includes/AjaxResponse.php')
-rw-r--r-- | includes/AjaxResponse.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php index 8fa08539..c79e928b 100644 --- a/includes/AjaxResponse.php +++ b/includes/AjaxResponse.php @@ -1,11 +1,16 @@ <?php +/** + * @file + * @ingroup Ajax + */ + if( !defined( 'MEDIAWIKI' ) ) { die( 1 ); } /** * @todo document - * @addtogroup Ajax + * @ingroup Ajax */ class AjaxResponse { @@ -99,7 +104,7 @@ class AjaxResponse { if ( $this->mCacheDuration ) { - # If squid caches are configured, tell them to cache the response, + # If squid caches are configured, tell them to cache the response, # and tell the client to always check with the squid. Otherwise, # tell the client to use a cached copy, without a way to purge it. @@ -220,4 +225,3 @@ class AjaxResponse { return true; } } - |