|
@@ -64,7 +64,7 @@ discard block |
|
|
block discarded – undo |
|
64
|
64
|
* Remove this block when restored |
|
65
|
65
|
*/ |
|
66
|
66
|
|
|
67
|
|
- /** @var BIGBLUEBUTTONBN_DEFAULT_SERVER_URL string of default bigbluebutton server url */ |
|
|
67
|
+ /** @var BIGBLUEBUTTONBN_DEFAULT_SERVER_URL string of default bigbluebutton server url */ |
|
68
|
68
|
const BIGBLUEBUTTONBN_DEFAULT_SERVER_URL = 'http://test-install.blindsidenetworks.com/bigbluebutton/'; |
|
69
|
69
|
/** @var BIGBLUEBUTTONBN_DEFAULT_SHARED_SECRET string of default bigbluebutton server shared secret */ |
|
70
|
70
|
const BIGBLUEBUTTONBN_DEFAULT_SHARED_SECRET = '8cd8ef52e8e101574e400365b55e11a6'; |
|
@@ -278,7 +278,7 @@ discard block |
|
|
block discarded – undo |
|
278
|
278
|
$sql = "SELECT COUNT(*) FROM {bigbluebuttonbn_logs} "; |
|
279
|
279
|
$sql .= "WHERE courseid = ? AND bigbluebuttonbnid = ? AND userid = ? AND (log = ? OR log = ?)"; |
|
280
|
280
|
$result = $DB->count_records_sql($sql, array($course->id, $bigbluebuttonbn->id, $user->id, |
|
281
|
|
- BIGBLUEBUTTONBN_LOG_EVENT_JOIN, BIGBLUEBUTTONBN_LOG_EVENT_PLAYED)); |
|
|
281
|
+ BIGBLUEBUTTONBN_LOG_EVENT_JOIN, BIGBLUEBUTTONBN_LOG_EVENT_PLAYED)); |
|
282
|
282
|
return $result; |
|
283
|
283
|
} |
|
284
|
284
|
|
|
@@ -507,12 +507,12 @@ discard block |
|
|
block discarded – undo |
|
507
|
507
|
$str = '<div class="bigbluebuttonbn overview">'."\n"; |
|
508
|
508
|
$str .= ' <div class="name">'.get_string('modulename', 'bigbluebuttonbn').': '."\n"; |
|
509
|
509
|
$str .= ' <a '.$classes.'href="'.$CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bigbluebuttonbn->coursemodule. |
|
510
|
|
- '">'.$bigbluebuttonbn->name.'</a>'."\n"; |
|
|
510
|
+ '">'.$bigbluebuttonbn->name.'</a>'."\n"; |
|
511
|
511
|
$str .= ' </div>'."\n"; |
|
512
|
512
|
$str .= ' <div class="info">'.get_string($start, 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->openingtime). |
|
513
|
513
|
'</div>'."\n"; |
|
514
|
514
|
$str .= ' <div class="info">'.get_string('ends_at', 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->closingtime) |
|
515
|
|
- .'</div>'."\n"; |
|
|
515
|
+ .'</div>'."\n"; |
|
516
|
516
|
$str .= '</div>'."\n"; |
|
517
|
517
|
return $str; |
|
518
|
518
|
} |
|
@@ -720,7 +720,7 @@ discard block |
|
|
block discarded – undo |
|
720
|
720
|
$bigbluebuttonbn->coursemodule, |
|
721
|
721
|
'bigbluebuttonbn', |
|
722
|
722
|
$bigbluebuttonbn->id, $bigbluebuttonbn->completionexpected |
|
723
|
|
- ); |
|
|
723
|
+ ); |
|
724
|
724
|
} |
|
725
|
725
|
} |
|
726
|
726
|
|