User "Catrope" posted a comment on MediaWiki.r92538.
Full URL:
https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/92538#c19975
Commit summary:
Follow-up r92528:
* remove @static
* return database result directly (no need for while())
* getAllPrefixesDb() -> getAllPrefixesDB()
Comment:
Oh, bah, that's right, it'll still return objects. Yeah you can either go back
to the while loop, or use something like <code>foreach ( $res as $row ) {
$retval[] = (array)$row; } return $retval;</code>
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview