summaryrefslogtreecommitdiff
path: root/includes/api/ApiFormatWddx.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api/ApiFormatWddx.php')
-rw-r--r--includes/api/ApiFormatWddx.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/includes/api/ApiFormatWddx.php b/includes/api/ApiFormatWddx.php
index f5cace21..1bc9d025 100644
--- a/includes/api/ApiFormatWddx.php
+++ b/includes/api/ApiFormatWddx.php
@@ -24,11 +24,6 @@
* @file
*/
-if ( !defined( 'MEDIAWIKI' ) ) {
- // Eclipse helper - will be ignored in production
- require_once( 'ApiFormatBase.php' );
-}
-
/**
* API WDDX output formatter
* @ingroup API
@@ -69,6 +64,8 @@ class ApiFormatWddx extends ApiFormatBase {
/**
* Recursively go through the object and output its data in WDDX format.
+ * @param $elemValue
+ * @param $indent int
*/
function slowWddxPrinter( $elemValue, $indent = 0 ) {
$indstr = ( $this->getIsHtml() ? '' : str_repeat( ' ', $indent ) );