Further cleanup for core API change

PS25 and later changed things around a fair bit, meaning the previous update
needs some further updating. In some cases additional cleanup is also necessary
for future core API changes.

Bug: T96595
Change-Id: I453625e0035ece45a2fef1136eb6bc0e856ac022
This commit is contained in:
Brad Jorsch 2015-04-20 14:41:28 -04:00
parent f737f73005
commit 9bad0e1933
2 changed files with 2 additions and 2 deletions

View file

@ -149,7 +149,7 @@ class ApiQueryAbuseFilters extends ApiQueryBase {
}
}
if ( defined( 'ApiResult::META_CONTENT' ) ) {
$result->defineIndexedTagName( array( 'query', $this->getModuleName() ), 'filter' );
$result->addIndexedTagName( array( 'query', $this->getModuleName() ), 'filter' );
} else {
$result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'filter' );
}

View file

@ -224,7 +224,7 @@ class ApiQueryAbuseLog extends ApiQueryBase {
}
}
if ( defined( 'ApiResult::META_CONTENT' ) ) {
$result->defineIndexedTagName( array( 'query', $this->getModuleName() ), 'item' );
$result->addIndexedTagName( array( 'query', $this->getModuleName() ), 'item' );
} else {
$result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'item' );
}