dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a7731a
)
Remove debugging code accidentally committed in r86253
author
Roan Kattouw
<catrope@users.mediawiki.org>
Sun, 17 Apr 2011 10:49:27 +0000
(10:49 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Sun, 17 Apr 2011 10:49:27 +0000
(10:49 +0000)
includes/json/FormatJson.php
patch
|
blob
|
history
diff --git
a/includes/json/FormatJson.php
b/includes/json/FormatJson.php
index
339bdd3
..
6e58434
100644
(file)
--- a/
includes/json/FormatJson.php
+++ b/
includes/json/FormatJson.php
@@
-31,10
+31,6
@@
class FormatJson {
// 46944. Test encoding an affected character (U+20000) to
// avoid this.
if ( !function_exists( 'json_encode' ) || $isHtml || strtolower( json_encode( "\xf0\xa0\x80\x80" ) ) != '"\ud840\udc00"' ) {
- var_dump(function_exists('json_encode'));
- var_dump($isHtml);
- var_dump(strtolower(json_encode("\xf0\xa0\x80\x80")));
- var_dump('\ud840\udc00');
$json = new Services_JSON();
return $json->encode( $value, $isHtml );
} else {