Completed
Pull Request — master (#44)
by Jesus
02:12
created
classes/locallib/bigbluebutton.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,17 +37,17 @@
 block discarded – undo
37 37
      * @return string
38 38
      */
39 39
     public static function action_url($action = '', $data = array(), $metadata = array()) {
40
-        $baseurl = \mod_bigbluebuttonbn\locallib\config::get('server_url').'api/'.$action.'?';
40
+        $baseurl = \mod_bigbluebuttonbn\locallib\config::get('server_url') . 'api/' . $action . '?';
41 41
         $params = '';
42 42
 
43 43
         foreach ($data as $key => $value) {
44
-            $params .= '&'.$key.'='.urlencode($value);
44
+            $params .= '&' . $key . '=' . urlencode($value);
45 45
         }
46 46
 
47 47
         foreach ($metadata as $key => $value) {
48
-            $params .= '&'.'meta_'.$key.'='.urlencode($value);
48
+            $params .= '&' . 'meta_' . $key . '=' . urlencode($value);
49 49
         }
50 50
 
51
-        return $baseurl.$params.'&checksum='.sha1($action.$params.\mod_bigbluebuttonbn\locallib\config::get('shared_secret'));
51
+        return $baseurl . $params . '&checksum=' . sha1($action . $params . \mod_bigbluebuttonbn\locallib\config::get('shared_secret'));
52 52
     }
53 53
 }
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_live_session_event.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@
 block discarded – undo
34 34
      */
35 35
     protected function init() {
36 36
         parent::init();
37
-        $this->description = "The user with id '$this->userid' triggered action $this->other in a ".
38
-        "bigbluebutton meeting for the bigbluebuttonbn activity with id ".
37
+        $this->description = "The user with id '$this->userid' triggered action $this->other in a " .
38
+        "bigbluebutton meeting for the bigbluebuttonbn activity with id " .
39 39
         "'$this->objectid' for the course id '$this->contextinstanceid'.";
40 40
     }
41 41
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_unprotected.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     protected function init() {
36 36
         parent::init();
37
-        $this->description = "The user with id '$this->userid' has unprotected a recording with id ".
37
+        $this->description = "The user with id '$this->userid' has unprotected a recording with id " .
38 38
             "'$this->other' in the course id '$this->contextinstanceid'.";
39 39
     }
40 40
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_meeting_created.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     protected function init() {
36 36
         parent::init();
37
-        $this->description = "The user with id '$this->userid' created a bigbluebutton meeting for".
37
+        $this->description = "The user with id '$this->userid' created a bigbluebutton meeting for" .
38 38
             "the bigbluebuttonbn activity with id '$this->objectid' for the course id '$this->contextinstanceid'.";
39 39
     }
40 40
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_meeting_ended.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@
 block discarded – undo
34 34
      */
35 35
     protected function init() {
36 36
         parent::init();
37
-        $this->description = "A bigbluebutton meeting for the bigbluebuttonbn activity with id ".
38
-            "'$this->objectid' for the course id '$this->contextinstanceid' has been forcibly ".
37
+        $this->description = "A bigbluebutton meeting for the bigbluebuttonbn activity with id " .
38
+            "'$this->objectid' for the course id '$this->contextinstanceid' has been forcibly " .
39 39
             "ended by the user with id '$this->userid'.";
40 40
     }
41 41
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_published.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     protected function init() {
36 36
         parent::init();
37
-        $this->description = "The user with id '$this->userid' has published a recording with id ".
37
+        $this->description = "The user with id '$this->userid' has published a recording with id " .
38 38
             "'$this->other' in the course id '$this->contextinstanceid'.";
39 39
     }
40 40
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_meeting_joined.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@
 block discarded – undo
34 34
      */
35 35
     protected function init() {
36 36
         parent::init();
37
-        $this->description = "The user with id '$this->userid' has joined a bigbluebutton meeting for ".
38
-            "the bigbluebuttonbn activity with id '$this->objectid' for the course id ".
37
+        $this->description = "The user with id '$this->userid' has joined a bigbluebutton meeting for " .
38
+            "the bigbluebuttonbn activity with id '$this->objectid' for the course id " .
39 39
             "'$this->contextinstanceid'.";
40 40
     }
41 41
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_unpublished.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     protected function init() {
36 36
         parent::init();
37
-        $this->description = "The user with id '$this->userid' has unpublished a recording with id ".
37
+        $this->description = "The user with id '$this->userid' has unpublished a recording with id " .
38 38
             "'$this->other' in the course id '$this->contextinstanceid'.";
39 39
     }
40 40
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_activity_management_viewed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     protected function init() {
36 36
         parent::init();
37
-        $this->description = "The user with id '$this->userid' viewed the bigbluebuttonbn activity management page for ".
37
+        $this->description = "The user with id '$this->userid' viewed the bigbluebuttonbn activity management page for " .
38 38
         "the course module id '$this->contextinstanceid'.";
39 39
     }
40 40
 
Please login to merge, or discard this patch.