Completed
Push — v2.3-stable ( 8dc849...237794 )
by Jesus
02:05
created
backup/moodle2/backup_bigbluebuttonbn_stepslib.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         $logs = new backup_nested_element('logs');
60 60
 
61 61
         $log = new backup_nested_element('log', array('id'), array(
62
-                'courseid', 'bigbluebuttonbnid', 'userid', 'timecreated', 'meetingid', 'log', 'meta', ));
62
+                'courseid', 'bigbluebuttonbnid', 'userid', 'timecreated', 'meetingid', 'log', 'meta',));
63 63
 
64 64
         // Build the tree.
65 65
         $bigbluebuttonbn->add_child($logs);
Please login to merge, or discard this patch.
import_view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     print_error('view_error_invalid_session', plugin::COMPONENT);
48 48
 }
49 49
 
50
-if (!(boolean)\mod_bigbluebuttonbn\locallib\config::importrecordings_enabled()) {
50
+if (!(boolean) \mod_bigbluebuttonbn\locallib\config::importrecordings_enabled()) {
51 51
     print_error('view_message_importrecordings_disabled', plugin::COMPONENT);
52 52
 }
53 53
 
Please login to merge, or discard this patch.
view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 bigbluebuttonbn_view_bbbsession_set($PAGE->context, $bbbsession);
59 59
 
60 60
 // Validates if the BigBlueButton server is working.
61
-$serverversion = bigbluebuttonbn_get_server_version();  // In locallib.
61
+$serverversion = bigbluebuttonbn_get_server_version(); // In locallib.
62 62
 if ($serverversion === null) {
63 63
     $errmsg = 'view_error_unable_join_student';
64 64
     $errurl = '/course/view.php';
Please login to merge, or discard this patch.
db/mobile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             'coursebigbluebuttonbn' => array( // Handler unique name (can be anything).
32 32
                 'displaydata' => array(
33 33
                     'title' => 'pluginname',
34
-                    'icon' => $CFG->wwwroot . '/mod/bigbluebuttonbn/pix/icon.gif',
34
+                    'icon' => $CFG->wwwroot.'/mod/bigbluebuttonbn/pix/icon.gif',
35 35
                     'class' => '',
36 36
                 ),
37 37
                 'delegate' => 'CoreCourseModuleDelegate', // Delegate (where to display the link to the add-on).
Please login to merge, or discard this patch.
classes/locallib/notifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
 defined('MOODLE_INTERNAL') || die();
29 29
 
30
-require_once($CFG->dirroot . '/mod/bigbluebuttonbn/locallib.php');
30
+require_once($CFG->dirroot.'/mod/bigbluebuttonbn/locallib.php');
31 31
 
32 32
 /**
33 33
  * Helper class for sending notifications.
Please login to merge, or discard this patch.
classes/locallib/config.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
 defined('MOODLE_INTERNAL') || die();
29 29
 
30
-require_once($CFG->dirroot . '/mod/bigbluebuttonbn/locallib.php');
30
+require_once($CFG->dirroot.'/mod/bigbluebuttonbn/locallib.php');
31 31
 
32 32
 /**
33 33
  * Handles the global configuration based on config.php.
@@ -128,10 +128,10 @@  discard block
 block discarded – undo
128 128
     public static function get($setting) {
129 129
         global $CFG;
130 130
         if (isset($CFG->bigbluebuttonbn[$setting])) {
131
-            return (string)$CFG->bigbluebuttonbn[$setting];
131
+            return (string) $CFG->bigbluebuttonbn[$setting];
132 132
         }
133 133
         if (isset($CFG->{'bigbluebuttonbn_'.$setting})) {
134
-            return (string)$CFG->{'bigbluebuttonbn_'.$setting};
134
+            return (string) $CFG->{'bigbluebuttonbn_'.$setting};
135 135
         }
136 136
         return self::defaultvalue($setting);
137 137
     }
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      * @return boolean
143 143
      */
144 144
     public static function recordings_enabled() {
145
-        return (boolean)self::get('recordings_enabled');
145
+        return (boolean) self::get('recordings_enabled');
146 146
     }
147 147
 
148 148
     /**
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      * @return boolean
152 152
      */
153 153
     public static function importrecordings_enabled() {
154
-        return (boolean)self::get('importrecordings_enabled');
154
+        return (boolean) self::get('importrecordings_enabled');
155 155
     }
156 156
 
157 157
     /**
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
      * @return boolean
161 161
      */
162 162
     public static function clienttype_enabled() {
163
-        return (boolean)self::get('clienttype_enabled');
163
+        return (boolean) self::get('clienttype_enabled');
164 164
     }
165 165
 
166 166
     /**
Please login to merge, or discard this patch.
classes/locallib/bigbluebutton.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
 defined('MOODLE_INTERNAL') || die();
29 29
 
30
-require_once($CFG->dirroot . '/mod/bigbluebuttonbn/locallib.php');
30
+require_once($CFG->dirroot.'/mod/bigbluebuttonbn/locallib.php');
31 31
 
32 32
 /**
33 33
  * Wrapper for executing http requests on a BigBlueButton server.
@@ -46,15 +46,15 @@  discard block
 block discarded – undo
46 46
      * @return string
47 47
      */
48 48
     public static function action_url($action = '', $data = array(), $metadata = array()) {
49
-        $baseurl = self::sanitized_url() . $action . '?';
49
+        $baseurl = self::sanitized_url().$action.'?';
50 50
         $params = '';
51 51
         foreach ($data as $key => $value) {
52
-            $params .= '&' . $key . '=' . urlencode($value);
52
+            $params .= '&'.$key.'='.urlencode($value);
53 53
         }
54 54
         foreach ($metadata as $key => $value) {
55
-            $params .= '&' . 'meta_' . $key.'=' . urlencode($value);
55
+            $params .= '&'.'meta_'.$key.'='.urlencode($value);
56 56
         }
57
-        return $baseurl . $params . '&checksum=' . sha1($action . $params . self::sanitized_secret());
57
+        return $baseurl.$params.'&checksum='.sha1($action.$params.self::sanitized_secret());
58 58
     }
59 59
 
60 60
     /**
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         if (substr($serverurl, -4) == '/api') {
71 71
             $serverurl = rtrim($serverurl, '/api');
72 72
         }
73
-        return $serverurl . '/api/';
73
+        return $serverurl.'/api/';
74 74
     }
75 75
 
76 76
     /**
@@ -91,8 +91,8 @@  discard block
 block discarded – undo
91 91
         $pserverurl = parse_url(trim(\mod_bigbluebuttonbn\locallib\config::get('server_url')));
92 92
         $pserverurlport = "";
93 93
         if (isset($pserverurl['port'])) {
94
-            $pserverurlport = ":" . $pserverurl['port'];
94
+            $pserverurlport = ":".$pserverurl['port'];
95 95
         }
96
-        return $pserverurl['scheme'] . "://" . $pserverurl['host'] . $pserverurlport . "/";
96
+        return $pserverurl['scheme']."://".$pserverurl['host'].$pserverurlport."/";
97 97
     }
98 98
 }
Please login to merge, or discard this patch.
classes/privacy/provider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
 defined('MOODLE_INTERNAL') || die();
38 38
 
39
-require_once($CFG->dirroot . '/mod/bigbluebuttonbn/locallib.php');
39
+require_once($CFG->dirroot.'/mod/bigbluebuttonbn/locallib.php');
40 40
 
41 41
 /**
42 42
  * Privacy class for requesting user data.
Please login to merge, or discard this patch.
classes/output/import_view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
             }
87 87
             $recordings = bigbluebuttonbn_get_allrecordings(
88 88
                 $selected, $bigbluebuttonbnid, false,
89
-                (boolean)\mod_bigbluebuttonbn\locallib\config::get('importrecordings_from_deleted_enabled')
89
+                (boolean) \mod_bigbluebuttonbn\locallib\config::get('importrecordings_from_deleted_enabled')
90 90
             );
91 91
             // Exclude the ones that are already imported.
92 92
             if (!empty($recordings)) {
Please login to merge, or discard this patch.