|
@@ -360,7 +360,7 @@ discard block |
|
|
block discarded – undo |
|
360
|
360
|
$sql = "SELECT COUNT(*) FROM {bigbluebuttonbn_logs} "; |
|
361
|
361
|
$sql .= "WHERE courseid = ? AND bigbluebuttonbnid = ? AND userid = ? AND (log = ? OR log = ?)"; |
|
362
|
362
|
$result = $DB->count_records_sql($sql, array($course->id, $bigbluebuttonbn->id, $user->id, |
|
363
|
|
- BIGBLUEBUTTONBN_LOG_EVENT_JOIN, BIGBLUEBUTTONBN_LOG_EVENT_PLAYED)); |
|
|
363
|
+ BIGBLUEBUTTONBN_LOG_EVENT_JOIN, BIGBLUEBUTTONBN_LOG_EVENT_PLAYED)); |
|
364
|
364
|
return $result; |
|
365
|
365
|
} |
|
366
|
366
|
|
|
@@ -593,7 +593,7 @@ discard block |
|
|
block discarded – undo |
|
593
|
593
|
$str = '<div class="bigbluebuttonbn overview">'."\n"; |
|
594
|
594
|
$str .= ' <div class="name">'.get_string('modulename', 'bigbluebuttonbn').': '."\n"; |
|
595
|
595
|
$str .= ' <a '.$classes.'href="'.$CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bigbluebuttonbn->coursemodule. |
|
596
|
|
- '">'.$bigbluebuttonbn->name.'</a>'."\n"; |
|
|
596
|
+ '">'.$bigbluebuttonbn->name.'</a>'."\n"; |
|
597
|
597
|
$str .= ' </div>'."\n"; |
|
598
|
598
|
$str .= ' <div class="info">'.get_string($start, 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->openingtime). |
|
599
|
599
|
'</div>'."\n"; |
|
@@ -846,7 +846,7 @@ discard block |
|
|
block discarded – undo |
|
846
|
846
|
'bigbluebuttonbn', |
|
847
|
847
|
$bigbluebuttonbn->id, |
|
848
|
848
|
$bigbluebuttonbn->completionexpected |
|
849
|
|
- ); |
|
|
849
|
+ ); |
|
850
|
850
|
} |
|
851
|
851
|
} |
|
852
|
852
|
|
Please login to merge, or discard this patch.