aboutsummaryrefslogtreecommitdiffstats
path: root/includes/AjaxDispatcher.php
diff options
context:
space:
mode:
authorAntoine Musso <hashar@users.mediawiki.org>2007-01-09 20:25:28 +0000
committerAntoine Musso <hashar@users.mediawiki.org>2007-01-09 20:25:28 +0000
commit1d84c780969c524258cacd1622ac84290def35c3 (patch)
treecac38568af22363e9f92ad878e18faf94f2ff257 /includes/AjaxDispatcher.php
parenta90933fc0544218401b1ed05a2ef89ae49dd8647 (diff)
downloadmediawikicore-1d84c780969c524258cacd1622ac84290def35c3.tar.gz
mediawikicore-1d84c780969c524258cacd1622ac84290def35c3.zip
whitespaces killing
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/19032
Diffstat (limited to 'includes/AjaxDispatcher.php')
-rw-r--r--includes/AjaxDispatcher.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/AjaxDispatcher.php b/includes/AjaxDispatcher.php
index 1f41a83f700e..a14ebdd69abc 100644
--- a/includes/AjaxDispatcher.php
+++ b/includes/AjaxDispatcher.php
@@ -47,7 +47,7 @@ class AjaxDispatcher {
function performAction() {
global $wgAjaxExportList, $wgOut;
-
+
if ( empty( $this->mode ) ) {
return;
}
@@ -59,7 +59,7 @@ class AjaxDispatcher {
} else {
try {
$result = call_user_func_array($this->func_name, $this->args);
-
+
if ( $result === false || $result === NULL ) {
header( 'Status: 500 Internal Error', true, 500 );
echo "{$this->func_name} returned no data";
@@ -68,7 +68,7 @@ class AjaxDispatcher {
if ( is_string( $result ) ) {
$result= new AjaxResponse( $result );
}
-
+
$result->sendHeaders();
$result->printText();
}
@@ -82,7 +82,7 @@ class AjaxDispatcher {
}
}
}
-
+
wfProfileOut( __METHOD__ );
$wgOut = null;
}