Add course setting "bbb_enable_conference_in_groups"

pull/2487/head
jmontoyaa 10 years ago
parent b39334d0c6
commit 1c76446ff2
  1. 3
      plugin/bbb/lib/bbb.lib.php
  2. 14
      plugin/bbb/lib/bbb_plugin.class.php

@ -55,6 +55,9 @@ class bbb
if ($this->groupSupport) {
$this->groupSupport = (bool) $plugin->get('enable_conference_in_course_groups');
if ($this->groupSupport) {
$this->groupSupport = api_get_course_setting('bbb_enable_conference_in_groups') === '1';
}
}
if ($bbbPlugin === true) {

@ -17,12 +17,16 @@ class BBBPlugin extends Plugin
public $isCoursePlugin = true;
// When creating a new course this settings are added to the course
public $course_settings = array(
array(
public $course_settings = [
[
'name' => 'big_blue_button_record_and_store',
'type' => 'checkbox'
)
);
'type' => 'checkbox',
],
[
'name' => 'bbb_enable_conference_in_groups',
'type' => 'checkbox',
]
];
/**
* BBBPlugin constructor.

Loading…
Cancel
Save