|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
<?php |
|
|
|
|
/** |
|
|
|
|
* This script should be included by add_course.lib.inc.php when adding a new course |
|
|
|
|
* This script is executed when a new course is created |
|
|
|
|
* @package chamilo.plugin.bigbluebutton |
|
|
|
|
*/ |
|
|
|
|
/** |
|
|
|
@ -22,9 +22,6 @@ if (!empty($course_id)) { |
|
|
|
|
$sql_course = "INSERT INTO $t_course (c_id, variable,value,category) VALUES ($course_id, 'big_blue_button_moderator_password','','plugins')"; |
|
|
|
|
$r = Database::query($sql_course); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//New BBB settings |
|
|
|
|
|
|
|
|
|
$sql_course = "INSERT INTO $t_course (c_id, variable,value,category) VALUES ($course_id, 'big_blue_button_max_students_allowed','','plugins')"; |
|
|
|
@ -45,7 +42,6 @@ if (!empty($course_id)) { |
|
|
|
|
$sql_course = "INSERT INTO $t_course (c_id, variable,value,category) VALUES ($course_id, 'big_blue_button_record_and_store','','plugins')"; |
|
|
|
|
$r = Database::query($sql_course); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$t_tool = Database::get_course_table(TABLE_TOOL_LIST); |
|
|
|
|
$sql_course = "INSERT INTO $t_tool VALUES ($course_id, NULL, 'videoconference','../../plugin/bbb/start.php','visio.gif','".string2binary(api_get_setting('course_create_active_tools', 'videoconference'))."','0','squaregrey.gif','NO','_blank','plugin','0')"; |
|
|
|
|
$r = Database::query($sql_course); |
|
|
|
|