deleted a command with debug code

This commit is contained in:
Paolo Tacconi 2014-07-29 09:41:43 +02:00
parent 87f5544f1f
commit d6d795efc9

View File

@ -235,6 +235,7 @@ function chat_message($uid,$room_id,$xchan,$text) {
*/
function chatroom_flush($room_id,$xchan) {
$date_limit = date('Y-m-d H:i:s', time() - 3600 * MAX_CHATROOM_HOURS);
$d = q("delete from chat where chat_room = %d and chat_xchan = '%s' and created < '%s'",
intval($room_id),
dbesc($xchan),