Mark "start_xml_output" function as deprecated

This commit is contained in:
Dmitriy Simushev 2014-05-08 12:24:11 +00:00
parent 35605b5af3
commit e6c055e782

View File

@ -40,6 +40,11 @@ function get_image($href, $width, $height)
return "<img src=\"$href\" border=\"0\" alt=\"\"/>"; return "<img src=\"$href\" border=\"0\" alt=\"\"/>";
} }
/**
* Sends headers that are needed for XML responses.
*
* @deprecated
*/
function start_xml_output() function start_xml_output()
{ {
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");