Completed
Pull Request — master (#94)
by
unknown
01:59
created
mod_form.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
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
 /**
33 33
  * Moodle class for mod_form.
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         $serverversion = bigbluebuttonbn_get_server_version();
49 49
         if (is_null($serverversion)) {
50 50
             print_error('general_error_unable_connect', 'bigbluebuttonbn',
51
-                $CFG->wwwroot.'/admin/settings.php?section=modsettingbigbluebuttonbn');
51
+                $CFG->wwwroot . '/admin/settings.php?section=modsettingbigbluebuttonbn');
52 52
             return;
53 53
         }
54 54
         // Context.
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         // If none is allowed, fail and return.
79 79
         if (empty($jsvars['instanceTypeProfiles'])) {
80 80
             print_error('general_error_not_allowed_to_create_instances)', 'bigbluebuttonbn',
81
-                $CFG->wwwroot.'/admin/settings.php?section=modsettingbigbluebuttonbn');
81
+                $CFG->wwwroot . '/admin/settings.php?section=modsettingbigbluebuttonbn');
82 82
             return;
83 83
         }
84 84
         $this->bigbluebuttonbn_mform_add_block_profiles($mform, $jsvars['instanceTypeProfiles']);
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
                 );
127 127
                 $defaultvalues['presentation'] = $draftitemid;
128 128
             } catch (Exception $e) {
129
-                debugging('Presentation could not be loaded: '.$e->getMessage(), DEBUG_DEVELOPER);
129
+                debugging('Presentation could not be loaded: ' . $e->getMessage(), DEBUG_DEVELOPER);
130 130
                 return;
131 131
             }
132 132
         }
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
             return;
460 460
         }
461 461
         $mform->addElement($type, $name, get_string($descriptionkey, 'bigbluebuttonbn'), $options);
462
-        if (get_string_manager()->string_exists($descriptionkey.'_help', 'bigbluebuttonbn')) {
462
+        if (get_string_manager()->string_exists($descriptionkey . '_help', 'bigbluebuttonbn')) {
463 463
             $mform->addHelpButton($name, $descriptionkey, 'bigbluebuttonbn');
464 464
         }
465 465
         if (!empty($rule)) {
Please login to merge, or discard this patch.