diff options
author | 2022-06-07 18:05:33 +0200 | |
---|---|---|
committer | 2022-06-07 18:05:33 +0200 | |
commit | fb501652d5ef8519470fa1faa585b3668ebd2a34 (patch) | |
tree | a9603f0c09d6f4b710fbde1c10297330bac87ad1 /formats/HtmlFormat.php | |
parent | e85932b1a524f88db6af66d4c3aac3a7983c169b (diff) | |
download | rss-bridge-fb501652d5ef8519470fa1faa585b3668ebd2a34.tar.gz rss-bridge-fb501652d5ef8519470fa1faa585b3668ebd2a34.tar.zst rss-bridge-fb501652d5ef8519470fa1faa585b3668ebd2a34.zip |
Formats: Remove display & related method (#2776)
Format should not be responsible for sending HTTP response.
Diffstat (limited to 'formats/HtmlFormat.php')
-rw-r--r-- | formats/HtmlFormat.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/formats/HtmlFormat.php b/formats/HtmlFormat.php index b9a7aba1..b3f02099 100644 --- a/formats/HtmlFormat.php +++ b/formats/HtmlFormat.php @@ -137,14 +137,6 @@ EOD; return $toReturn; } - public function display() { - $this - ->setContentType(self::MIME_TYPE . '; charset=' . $this->getCharset()) - ->callContentType(); - - return parent::display(); - } - private function buildButton($format, $query) { return <<<EOD <a href="./?{$query}"><button class="rss-feed">{$format}</button></a> |