diff --git a/lhc_web/lib/core/lhchat/lhchatexport.php b/lhc_web/lib/core/lhchat/lhchatexport.php index b0f875e1c7..55b8bd5d7d 100644 --- a/lhc_web/lib/core/lhchat/lhchatexport.php +++ b/lhc_web/lib/core/lhchat/lhchatexport.php @@ -2,13 +2,13 @@ class erLhcoreClassChatExport { - public function chatExportXML(erLhcoreClassModelChat $chat) { + public static function chatExportXML(erLhcoreClassModelChat $chat) { $tpl = new erLhcoreClassTemplate('lhexport/xml.tpl.php'); $tpl->set('chat', $chat); return $tpl->fetch(); } - public function chatExportJSON(erLhcoreClassModelChat $chat) { + public static function chatExportJSON(erLhcoreClassModelChat $chat) { $tpl = new erLhcoreClassTemplate('lhexport/json.tpl.php'); $tpl->set('chat', $chat); return $tpl->fetch(); @@ -235,4 +235,4 @@ public static function chatListExportXLS($chats, $params = array()) { } } -?> \ No newline at end of file +?>