diff --git a/src/mibew/libs/common/response.php b/src/mibew/libs/common/response.php index df316afc..2c4d7a37 100644 --- a/src/mibew/libs/common/response.php +++ b/src/mibew/libs/common/response.php @@ -40,20 +40,6 @@ function get_image($href, $width, $height) return "\"\"/"; } -/** - * Sends headers that are needed for XML responses. - * - * @deprecated - */ -function start_xml_output() -{ - header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); - header("Cache-Control: no-store, no-cache, must-revalidate"); - header("Pragma: no-cache"); - header("Content-type: text/xml; charset=utf-8"); - echo ""; -} - function start_html_output() { header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); @@ -62,20 +48,6 @@ function start_html_output() header("Content-type: text/html; charset=utf-8"); } -/** - * Sends headers that are needed for JS responses. - * - * @deprecated - */ -function start_js_output() -{ - header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); - header("Cache-Control: no-store, no-cache, must-revalidate"); - header("Pragma: no-cache"); - header("Content-type: application/javascript; charset=utf-8"); - header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'); -} - /** * Load additional CSS files, required by plugins, and build HTML code to * include them