summaryrefslogtreecommitdiff
path: root/includes/AjaxResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/AjaxResponse.php')
-rw-r--r--includes/AjaxResponse.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php
index 014798f8..b9f80855 100644
--- a/includes/AjaxResponse.php
+++ b/includes/AjaxResponse.php
@@ -6,10 +6,6 @@
* @ingroup Ajax
*/
-if ( !defined( 'MEDIAWIKI' ) ) {
- die( 1 );
-}
-
/**
* Handle responses for Ajax requests (send headers, print
* content, that sort of thing)