json_encode() -> FormatJson::encode()
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 22 Jul 2010 08:08:37 +0000 (08:08 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 22 Jul 2010 08:08:37 +0000 (08:08 +0000)
maintenance/parserTests.inc

index 841740b..f95cc69 100644 (file)
@@ -1514,7 +1514,7 @@ class RemoteTestRecorder extends TestRecorder {
 
                $remote = $wgParserTestRemote;
                $revId = SpecialVersion::getSvnRevision( $IP );
-               $jsonResults = json_encode( $results );
+               $jsonResults = FormatJson::encode( $results );
 
                if ( !$remote ) {
                        print "Can't do remote upload without configuring \$wgParserTestRemote!\n";