dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
API: Overhaul ApiResult, make format=xml not throw, and add json formatversion
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiImport.php
diff --git
a/includes/api/ApiImport.php
b/includes/api/ApiImport.php
index
c7dcce8
..
9d76a46
100644
(file)
--- a/
includes/api/ApiImport.php
+++ b/
includes/api/ApiImport.php
@@
-85,7
+85,7
@@
class ApiImport extends ApiBase {
$resultData = $reporter->getData();
$result = $this->getResult();
-
$result->
setIndexedTagName( $resultData, 'page' );
+
ApiResult::
setIndexedTagName( $resultData, 'page' );
$result->addValue( null, $this->getModuleName(), $resultData );
}