diff options
Diffstat (limited to 'core/DataTable/Renderer/Xml.php')
-rw-r--r-- | core/DataTable/Renderer/Xml.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/core/DataTable/Renderer/Xml.php b/core/DataTable/Renderer/Xml.php index 828b890ab7..9eb2c30bbf 100644 --- a/core/DataTable/Renderer/Xml.php +++ b/core/DataTable/Renderer/Xml.php @@ -27,20 +27,6 @@ class Piwik_DataTable_Renderer_Xml extends Piwik_DataTable_Renderer return $this->renderTable($this->table); } - function renderException() - { - $exceptionMessage = self::renderHtmlEntities($this->exception->getMessage()); - - @header("Content-Type: text/xml;charset=utf-8"); - $return = - "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n" . - "<result>\n". - "\t<error message=\"".$exceptionMessage."\" />\n". - "</result>"; - - return $return; - } - protected function getArrayFromDataTable($table) { $renderer = new Piwik_DataTable_Renderer_Php(); |