Completed
Push — master ( 10847d...32c9ae )
by Jesus
03:00
created
classes/event/bigbluebuttonbn_activity_viewed.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
      * @return string
53 53
      */
54 54
     public function get_description() {
55
-        $a = (object) array('userid' => $this->userid,
55
+        $a = (object)array('userid' => $this->userid,
56 56
                             'bigbluebuttonbnid' => $this->objectid,
57 57
                             'courseid' => $this->contextinstanceid);
58 58
 
59
-        return "The user with id '$a->userid' viewed the bigbluebuttonbn activity ".
59
+        return "The user with id '$a->userid' viewed the bigbluebuttonbn activity " .
60 60
         "with id '$a->bigbluebuttonbnid' for the course id '$a->courseid'.";
61 61
     }
62 62
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      */
68 68
     protected function get_legacy_logdata() {
69 69
         return array($this->courseid, 'bigbluebuttonbn', 'activity viewed',
70
-                'view.php?pageid='.$this->objectid, 'BigBlueButtonBN activity viewed',
70
+                'view.php?pageid=' . $this->objectid, 'BigBlueButtonBN activity viewed',
71 71
                 $this->contextinstanceid);
72 72
     }
73 73
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_imported.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function get_description() {
55 55
         $rid = isset($this->other['rid']) ? $this->other['rid'] : '';
56
-        $a = (object) array('userid' => $this->userid,
56
+        $a = (object)array('userid' => $this->userid,
57 57
                             'recordingid' => $rid,
58 58
                             'courseid' => $this->contextinstanceid);
59 59
 
60
-        return "The user with id '$a->userid' has imported a recording with id ".
60
+        return "The user with id '$a->userid' has imported a recording with id " .
61 61
         "'$a->recordingid' into the course id '$a->courseid'.";
62 62
     }
63 63
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     protected function get_legacy_logdata() {
70 70
         return array($this->courseid, 'bigbluebuttonbn', 'recording imported',
71
-                'view.php?pageid='.$this->objectid, 'Recording imported',
71
+                'view.php?pageid=' . $this->objectid, 'Recording imported',
72 72
                 $this->contextinstanceid);
73 73
     }
74 74
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_published.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function get_description() {
55 55
         $rid = isset($this->other['rid']) ? $this->other['rid'] : '';
56
-        $a = (object) array('userid' => $this->userid,
56
+        $a = (object)array('userid' => $this->userid,
57 57
                             'recordingid' => $rid,
58 58
                             'courseid' => $this->contextinstanceid);
59 59
 
60
-        return "The user with id '$a->userid' has published a recording with id ".
60
+        return "The user with id '$a->userid' has published a recording with id " .
61 61
         "'$a->recordingid' in the course id '$a->courseid'.";
62 62
     }
63 63
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     protected function get_legacy_logdata() {
70 70
         return array($this->courseid, 'bigbluebuttonbn', 'recording published',
71
-                'view.php?pageid='.$this->objectid, 'Recording published',
71
+                'view.php?pageid=' . $this->objectid, 'Recording published',
72 72
                 $this->contextinstanceid);
73 73
     }
74 74
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_unpublished.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function get_description() {
55 55
         $rid = isset($this->other['rid']) ? $this->other['rid'] : '';
56
-        $a = (object) array('userid' => $this->userid,
56
+        $a = (object)array('userid' => $this->userid,
57 57
                             'recordingid' => $rid,
58 58
                             'courseid' => $this->contextinstanceid);
59 59
 
60
-        return "The user with id '$a->userid' has unpublished a recording with id ".
60
+        return "The user with id '$a->userid' has unpublished a recording with id " .
61 61
         "'$a->recordingid' in the course id '$a->courseid'.";
62 62
     }
63 63
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     protected function get_legacy_logdata() {
70 70
         return array($this->courseid, 'bigbluebuttonbn', 'recording unpublished',
71
-                'view.php?pageid='.$this->objectid, 'Recording unpublished',
71
+                'view.php?pageid=' . $this->objectid, 'Recording unpublished',
72 72
                 $this->contextinstanceid);
73 73
     }
74 74
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_meeting_left.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,12 +52,12 @@  discard block
 block discarded – undo
52 52
      * @return string
53 53
      */
54 54
     public function get_description() {
55
-        $a = (object) array('userid' => $this->userid,
55
+        $a = (object)array('userid' => $this->userid,
56 56
                             'bigbluebuttonbnid' => $this->objectid,
57 57
                             'courseid' => $this->contextinstanceid);
58 58
 
59
-        return "The user with id '$a->userid' has left a bigbluebutton meeting for ".
60
-        "the bigbluebuttonbn activity with id '$a->bigbluebuttonbnid' for the course id ".
59
+        return "The user with id '$a->userid' has left a bigbluebutton meeting for " .
60
+        "the bigbluebuttonbn activity with id '$a->bigbluebuttonbnid' for the course id " .
61 61
         "'$a->courseid'.";
62 62
     }
63 63
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     protected function get_legacy_logdata() {
70 70
         return array($this->courseid, 'bigbluebuttonbn', 'meeting left',
71
-                'view.php?pageid='.$this->objectid, 'BigBlueButtonBN meeting left',
71
+                'view.php?pageid=' . $this->objectid, 'BigBlueButtonBN meeting left',
72 72
                 $this->contextinstanceid);
73 73
     }
74 74
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_meeting_ended.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,12 +52,12 @@  discard block
 block discarded – undo
52 52
      * @return string
53 53
      */
54 54
     public function get_description() {
55
-        $a = (object) array('userid' => $this->userid,
55
+        $a = (object)array('userid' => $this->userid,
56 56
                             'bigbluebuttonbnid' => $this->objectid,
57 57
                             'courseid' => $this->contextinstanceid);
58 58
 
59
-        return "A bigbluebutton meeting for the bigbluebuttonbn activity with id ".
60
-        "'$a->bigbluebuttonbnid' for the course id '$a->courseid' has been forcibly ".
59
+        return "A bigbluebutton meeting for the bigbluebuttonbn activity with id " .
60
+        "'$a->bigbluebuttonbnid' for the course id '$a->courseid' has been forcibly " .
61 61
         "ended by the user with id '$a->userid'.";
62 62
     }
63 63
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     protected function get_legacy_logdata() {
70 70
         return array($this->courseid, 'bigbluebuttonbn', 'meeting ended',
71
-                'view.php?pageid='.$this->objectid, 'BigBlueButtonBN meeting forcibly ended',
71
+                'view.php?pageid=' . $this->objectid, 'BigBlueButtonBN meeting forcibly ended',
72 72
                 $this->contextinstanceid);
73 73
     }
74 74
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_deleted.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function get_description() {
55 55
         $rid = isset($this->other['rid']) ? $this->other['rid'] : '';
56
-        $a = (object) array('userid' => $this->userid,
56
+        $a = (object)array('userid' => $this->userid,
57 57
                             'recordingid' => $rid,
58 58
                             'courseid' => $this->contextinstanceid);
59 59
 
60
-        return "The user with id '$a->userid' has deleted a recording with id ".
60
+        return "The user with id '$a->userid' has deleted a recording with id " .
61 61
         "'$a->recordingid' from the course id '$a->courseid'.";
62 62
     }
63 63
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     protected function get_legacy_logdata() {
70 70
         return array($this->courseid, 'bigbluebuttonbn', 'recording deleted',
71
-                'view.php?pageid='.$this->objectid, 'Recording deleted',
71
+                'view.php?pageid=' . $this->objectid, 'Recording deleted',
72 72
                 $this->contextinstanceid);
73 73
     }
74 74
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_activity_management_viewed.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      * @return string
52 52
      */
53 53
     public function get_description() {
54
-        return "The user with id '$this->userid' viewed the bigbluebuttonbn activity management page for ".
54
+        return "The user with id '$this->userid' viewed the bigbluebuttonbn activity management page for " .
55 55
         "the course module id '$this->contextinstanceid'.";
56 56
     }
57 57
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      */
63 63
     protected function get_legacy_logdata() {
64 64
         return array($this->courseid, 'bigbluebuttonbn', 'activity management viewed',
65
-                'view.php?pageid='.$this->objectid, 'BigBlueButtonBN activity management viewed', $this->contextinstanceid, );
65
+                'view.php?pageid=' . $this->objectid, 'BigBlueButtonBN activity management viewed', $this->contextinstanceid,);
66 66
     }
67 67
 
68 68
     /**
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_meeting_created.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
      * @return string
53 53
      */
54 54
     public function get_description() {
55
-        $a = (object) array('userid' => $this->userid,
55
+        $a = (object)array('userid' => $this->userid,
56 56
                             'bigbluebuttonbnid' => $this->objectid,
57 57
                             'courseid' => $this->contextinstanceid);
58 58
 
59
-        return "The user with id '$a->userid' created a bigbluebutton meeting for".
59
+        return "The user with id '$a->userid' created a bigbluebutton meeting for" .
60 60
         "the bigbluebuttonbn activity with id '$a->bigbluebuttonbnid' for the course id '$a->courseid'.";
61 61
     }
62 62
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      */
68 68
     protected function get_legacy_logdata() {
69 69
         return array($this->courseid, 'bigbluebuttonbn', 'meeting created',
70
-                'view.php?pageid='.$this->objectid, 'BigBlueButtonBN meeting created',
70
+                'view.php?pageid=' . $this->objectid, 'BigBlueButtonBN meeting created',
71 71
                 $this->contextinstanceid);
72 72
     }
73 73
 
Please login to merge, or discard this patch.