Skip to content

Commit

Permalink
Remove references to nonexistent chatCall* properties - refs #1554
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed Dec 14, 2016
1 parent 585dff8 commit 9b6ab69
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions main/inc/lib/CourseChatUtils.php
Expand Up @@ -1676,16 +1676,6 @@ public function readMessages($reset = false, $friendId = 0)
//the caller
$content[0] = get_lang('CallSent') . '<br />' . $content[0];
}
if (isset($_GET['origin']) && $_GET['origin'] == 'whoisonlinejoin') {
//the joiner (we have to delete the chat request to him when he joins the chat)
Database::getManager()
->createQuery('
UPDATE ChamiloUserBundle:User u
SET u.chatcallUserId = NULL, u.chatcallDate = NULL, u.chatcallText = NULL
WHERE u.id = :user
')
->execute(['user' => $this->userId]);
}

$history = '<div id="content-chat">';

Expand Down

0 comments on commit 9b6ab69

Please sign in to comment.