From a32c7772c6fea8f48fc7fe649905dc77741e6454 Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 10 Feb 2005 19:14:53 +0000 Subject: [PATCH] fixed deleting of old users when using chatd, other minor fixes, reverting of changes in chatmsg - found some weird problems in FF --- mod/chat/gui_header_js/chatmsg.php | 2 -- mod/chat/gui_header_js/index.php | 2 +- mod/chat/gui_header_js/jsupdate.php | 6 ------ mod/chat/gui_sockets/index.php | 2 -- mod/chat/lib.php | 15 ++++++++++++--- 5 files changed, 13 insertions(+), 14 deletions(-) diff --git a/mod/chat/gui_header_js/chatmsg.php b/mod/chat/gui_header_js/chatmsg.php index 1e2e4fbff16..b2f9f5d206a 100644 --- a/mod/chat/gui_header_js/chatmsg.php +++ b/mod/chat/gui_header_js/chatmsg.php @@ -1,4 +1,2 @@ - - diff --git a/mod/chat/gui_header_js/index.php b/mod/chat/gui_header_js/index.php index 0fde491fa83..330ab95c690 100644 --- a/mod/chat/gui_header_js/index.php +++ b/mod/chat/gui_header_js/index.php @@ -46,7 +46,7 @@ $strchat = get_string('modulename', 'chat'); // must be before current_language() in chat_login_user() to force course language!!! - if (!$chat_sid = chat_login_user($chat->id, 'header_js', $groupid, $course, true)) { + if (!$chat_sid = chat_login_user($chat->id, 'header_js', $groupid, $course)) { error('Could not log in to chat room!!'); } diff --git a/mod/chat/gui_header_js/jsupdate.php b/mod/chat/gui_header_js/jsupdate.php index ac277428517..7ac6981c0ff 100644 --- a/mod/chat/gui_header_js/jsupdate.php +++ b/mod/chat/gui_header_js/jsupdate.php @@ -49,12 +49,6 @@