Revert r83647, was based on the inability to read the function signature
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Thu, 10 Mar 2011 12:04:38 +0000 (12:04 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Thu, 10 Mar 2011 12:04:38 +0000 (12:04 +0000)
includes/json/FormatJson.php

index 26f3762..f9667f5 100644 (file)
@@ -58,7 +58,7 @@ class FormatJson {
                        $jsonDec = $json->decode( $value );
                        return $jsonDec;
                } else {
-                       return wfObjectToArray( json_decode( $value, $assoc ) );
+                       return json_decode( $value, $assoc );
                }
        }