|
@@ -271,7 +271,7 @@ discard block |
|
|
block discarded – undo |
|
271
|
271
|
$sql = "SELECT COUNT(*) FROM {bigbluebuttonbn_logs} "; |
|
272
|
272
|
$sql .= "WHERE courseid = ? AND bigbluebuttonbnid = ? AND userid = ? AND (log = ? OR log = ?)"; |
|
273
|
273
|
$result = $DB->count_records_sql($sql, array($course->id, $bigbluebuttonbn->id, $user->id, |
|
274
|
|
- BIGBLUEBUTTONBN_LOG_EVENT_JOIN, BIGBLUEBUTTONBN_LOG_EVENT_PLAYED)); |
|
|
274
|
+ BIGBLUEBUTTONBN_LOG_EVENT_JOIN, BIGBLUEBUTTONBN_LOG_EVENT_PLAYED)); |
|
275
|
275
|
return $result; |
|
276
|
276
|
} |
|
277
|
277
|
|
|
@@ -500,7 +500,7 @@ discard block |
|
|
block discarded – undo |
|
500
|
500
|
$str = '<div class="bigbluebuttonbn overview">'."\n"; |
|
501
|
501
|
$str .= ' <div class="name">'.get_string('modulename', 'bigbluebuttonbn').': '."\n"; |
|
502
|
502
|
$str .= ' <a '.$classes.'href="'.$CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bigbluebuttonbn->coursemodule. |
|
503
|
|
- '">'.$bigbluebuttonbn->name.'</a>'."\n"; |
|
|
503
|
+ '">'.$bigbluebuttonbn->name.'</a>'."\n"; |
|
504
|
504
|
$str .= ' </div>'."\n"; |
|
505
|
505
|
$str .= ' <div class="info">'.get_string($start, 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->openingtime). |
|
506
|
506
|
'</div>'."\n"; |
|
@@ -717,7 +717,7 @@ discard block |
|
|
block discarded – undo |
|
717
|
717
|
$bigbluebuttonbn->coursemodule, |
|
718
|
718
|
'bigbluebuttonbn', |
|
719
|
719
|
$bigbluebuttonbn->id, $bigbluebuttonbn->completionexpected |
|
720
|
|
- ); |
|
|
720
|
+ ); |
|
721
|
721
|
} |
|
722
|
722
|
} |
|
723
|
723
|
|
Please login to merge, or discard this patch.