From 61f0bedec2c1ae32d1c25208938ba559fab3aa23 Mon Sep 17 00:00:00 2001
From: Eric Laufer <drericlaufer@gmx.de>
Date: Thu, 5 Jul 2018 12:31:00 +0300
Subject: [PATCH] Update chat.php

---
 lib/chat.php | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/lib/chat.php b/lib/chat.php
index d42dfb7..8741ecd 100644
--- a/lib/chat.php
+++ b/lib/chat.php
@@ -1,8 +1,7 @@
-<?php
-	require("datenbank.inc.php");
-	require_once("class/chat.class.php");
-	$id = intval( $_GET['lastTimeID'] );
-	$jsonData = chatClass::getRestChatLines($id);
-	//db_query("INSERT INTO json (text) VALUES ('". $jsonData ."')");
-	print $jsonData;
+<?php
+	require("datenbank.inc.php");
+	require_once("class/chat.class.php");
+	$id = intval( $_GET['lastTimeID'] );
+	$jsonData = chatClass::getRestChatLines($id);
+	print $jsonData;
 ?>
\ No newline at end of file
-- 
GitLab