@@ -26,8 +26,8 @@ discard block |
||
26 | 26 | |
27 | 27 | defined('MOODLE_INTERNAL') || die(); |
28 | 28 | |
29 | -require_once(dirname(__FILE__).'/locallib.php'); |
|
30 | -require_once($CFG->dirroot.'/course/moodleform_mod.php'); |
|
29 | +require_once(dirname(__FILE__) . '/locallib.php'); |
|
30 | +require_once($CFG->dirroot . '/course/moodleform_mod.php'); |
|
31 | 31 | |
32 | 32 | class mod_bigbluebuttonbn_mod_form extends moodleform_mod { |
33 | 33 | |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | $serverversion = bigbluebuttonbn_get_server_version(); |
38 | 38 | if (is_null($serverversion)) { |
39 | 39 | print_error('general_error_unable_connect', 'bigbluebuttonbn', |
40 | - $CFG->wwwroot.'/admin/settings.php?section=modsettingbigbluebuttonbn'); |
|
40 | + $CFG->wwwroot . '/admin/settings.php?section=modsettingbigbluebuttonbn'); |
|
41 | 41 | return; |
42 | 42 | } |
43 | 43 | // Context. |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | ); |
111 | 111 | $defaultvalues['presentation'] = $draftitemid; |
112 | 112 | } catch (Exception $e) { |
113 | - debugging('Presentation could not be loaded: '.$e->getMessage(), DEBUG_DEVELOPER); |
|
113 | + debugging('Presentation could not be loaded: ' . $e->getMessage(), DEBUG_DEVELOPER); |
|
114 | 114 | return null; |
115 | 115 | } |
116 | 116 | } |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | return; |
326 | 326 | } |
327 | 327 | $mform->addElement($type, $name, get_string($descriptionkey, 'bigbluebuttonbn'), $options); |
328 | - if (get_string_manager()->string_exists($descriptionkey.'_help', 'bigbluebuttonbn')) { |
|
328 | + if (get_string_manager()->string_exists($descriptionkey . '_help', 'bigbluebuttonbn')) { |
|
329 | 329 | $mform->addHelpButton($name, $descriptionkey, 'bigbluebuttonbn'); |
330 | 330 | } |
331 | 331 | if (!empty($rule)) { |