aboutsummaryrefslogtreecommitdiff
path: root/formats/JsonFormat.php
diff options
context:
space:
mode:
Diffstat (limited to 'formats/JsonFormat.php')
-rw-r--r--formats/JsonFormat.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/formats/JsonFormat.php b/formats/JsonFormat.php
index f0aa0e65..90bae863 100644
--- a/formats/JsonFormat.php
+++ b/formats/JsonFormat.php
@@ -122,14 +122,6 @@ class JsonFormat extends FormatAbstract {
return $json;
}
- public function display(){
- $this
- ->setContentType(self::MIME_TYPE . '; charset=' . $this->getCharset())
- ->callContentType();
-
- return parent::display();
- }
-
private function isHTML($text) {
return (strlen(strip_tags($text)) != strlen($text));
}