]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/cache_starred_images/init.php
remove ob_clean/flush shit as unneeded hacks from cached image output routines
[tt-rss.git] / plugins / cache_starred_images / init.php
index 6e62bde768edcb64cb0654c4d75bdf266c87218f..4e5f2d4f70765547f6a72c79f6deac9a02cb45a4 100644 (file)
@@ -62,8 +62,6 @@ class Cache_Starred_Images extends Plugin {
                                        header("Content-type: image/png");
                                        $stamp = gmdate("D, d M Y H:i:s", filemtime($filename)). " GMT";
                                        header("Last-Modified: $stamp", true);
-                                       ob_clean();   // discard any data in the output buffer (if possible)
-                                       flush();      // flush headers (if possible)
                                        readfile($filename);
                                }
                        } else {