|
@@ -61,7 +61,7 @@ discard block |
|
|
block discarded – undo |
|
61
|
61
|
* Remove this block when restored |
|
62
|
62
|
*/ |
|
63
|
63
|
|
|
64
|
|
- /** @var BIGBLUEBUTTONBN_DEFAULT_SERVER_URL string of default bigbluebutton server url */ |
|
|
64
|
+ /** @var BIGBLUEBUTTONBN_DEFAULT_SERVER_URL string of default bigbluebutton server url */ |
|
65
|
65
|
const BIGBLUEBUTTONBN_DEFAULT_SERVER_URL = 'http://test-install.blindsidenetworks.com/bigbluebutton/'; |
|
66
|
66
|
/** @var BIGBLUEBUTTONBN_DEFAULT_SHARED_SECRET string of default bigbluebutton server shared secret */ |
|
67
|
67
|
const BIGBLUEBUTTONBN_DEFAULT_SHARED_SECRET = '8cd8ef52e8e101574e400365b55e11a6'; |
|
@@ -268,7 +268,7 @@ discard block |
|
|
block discarded – undo |
|
268
|
268
|
$sql = "SELECT count(*) FROM {bigbluebuttonbn_logs} "; |
|
269
|
269
|
$sql .= "WHERE courseid = ? AND bigbluebuttonbnid = ? AND userid = ? AND (log = ? OR log = ?)"; |
|
270
|
270
|
$result = $DB->get_record_sql($sql, array($course->id, $bigbluebuttonbn->id, $user->id, |
|
271
|
|
- BIGBLUEBUTTONBN_LOG_EVENT_JOIN, BIGBLUEBUTTONBN_LOG_EVENT_PLAYED)); |
|
|
271
|
+ BIGBLUEBUTTONBN_LOG_EVENT_JOIN, BIGBLUEBUTTONBN_LOG_EVENT_PLAYED)); |
|
272
|
272
|
return (int)$result->count; |
|
273
|
273
|
} |
|
274
|
274
|
|
|
@@ -356,12 +356,12 @@ discard block |
|
|
block discarded – undo |
|
356
|
356
|
$str = '<div class="bigbluebuttonbn overview">'."\n"; |
|
357
|
357
|
$str .= ' <div class="name">'.get_string('modulename', 'bigbluebuttonbn').': '."\n"; |
|
358
|
358
|
$str .= ' <a '.$classes.'href="'.$CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bigbluebuttonbn->coursemodule. |
|
359
|
|
- '">'.$bigbluebuttonbn->name.'</a>'."\n"; |
|
|
359
|
+ '">'.$bigbluebuttonbn->name.'</a>'."\n"; |
|
360
|
360
|
$str .= ' </div>'."\n"; |
|
361
|
361
|
$str .= ' <div class="info">'.get_string($start, 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->openingtime). |
|
362
|
362
|
'</div>'."\n"; |
|
363
|
363
|
$str .= ' <div class="info">'.get_string('ends_at', 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->closingtime) |
|
364
|
|
- .'</div>'."\n"; |
|
|
364
|
+ .'</div>'."\n"; |
|
365
|
365
|
$str .= '</div>'."\n"; |
|
366
|
366
|
return $str; |
|
367
|
367
|
} |
|
@@ -559,7 +559,7 @@ discard block |
|
|
block discarded – undo |
|
559
|
559
|
$bigbluebuttonbn->coursemodule, |
|
560
|
560
|
'bigbluebuttonbn', |
|
561
|
561
|
$bigbluebuttonbn->id, $bigbluebuttonbn->completionexpected |
|
562
|
|
- ); |
|
|
562
|
+ ); |
|
563
|
563
|
} |
|
564
|
564
|
} |
|
565
|
565
|
/** |