mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'patch-24' of https://github.com/sk-unikent/moodle
This commit is contained in:
commit
eda9dbcfe0
@ -106,7 +106,7 @@ class mod_chat_external extends external_api {
|
||||
// Get the unique chat session id.
|
||||
// Since we are going to use the chat via Web Service requests we set the ajax version (since it's the most similar).
|
||||
if (!$chatsid = chat_login_user($chat->id, 'ajax', $groupid, $course)) {
|
||||
throw moodle_exception('cantlogin', 'chat');
|
||||
throw new moodle_exception('cantlogin', 'chat');
|
||||
}
|
||||
|
||||
$result = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user