Completed
Push — master ( 28a3cc...0f1932 )
by Jesus
148:48 queued 139:33
created
backup/moodle2/backup_bigbluebuttonbn_activity_task.class.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,14 +54,14 @@
 block discarded – undo
54 54
     static public function encode_content_links($content) {
55 55
         global $CFG;
56 56
 
57
-        $base = preg_quote($CFG->wwwroot.'/mod/bigbluebuttonbn','#');
57
+        $base = preg_quote($CFG->wwwroot . '/mod/bigbluebuttonbn', '#');
58 58
 
59 59
         //Link to the list of bigbluebuttonbns
60
-        $pattern = "#(".$base."\/index.php\?id\=)([0-9]+)#";
60
+        $pattern = "#(" . $base . "\/index.php\?id\=)([0-9]+)#";
61 61
         $content = preg_replace($pattern, '$@BIGBLUEBUTTONBNINDEX*$2@$', $content);
62 62
 
63 63
         //Link to bigbluebuttonbn view by moduleid
64
-        $pattern = "#(".$base."\/view.php\?id\=)([0-9]+)#";
64
+        $pattern = "#(" . $base . "\/view.php\?id\=)([0-9]+)#";
65 65
         $content = preg_replace($pattern, '$@BIGBLUEBUTTONBNVIEWBYID*$2@$', $content);
66 66
 
67 67
         return $content;
Please login to merge, or discard this patch.
backup/moodle2/backup_bigbluebuttonbn_stepslib.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -36,11 +36,11 @@
 block discarded – undo
36 36
 
37 37
         // Define each element separated
38 38
         $bigbluebuttonbn = new backup_nested_element('bigbluebuttonbn', array('id'), array(
39
-                           'course', 'name', 'intro', 'introformat', 'meetingid',
40
-                           'moderatorpass', 'viewerpass', 'wait', 'record', 'tagging',
41
-                           'welcome', 'voicebridge', 'openingtime', 'closingtime',
42
-                           'timecreated', 'timemodified', 'presentation', 'participants',
43
-                           'userlimit'));
39
+                            'course', 'name', 'intro', 'introformat', 'meetingid',
40
+                            'moderatorpass', 'viewerpass', 'wait', 'record', 'tagging',
41
+                            'welcome', 'voicebridge', 'openingtime', 'closingtime',
42
+                            'timecreated', 'timemodified', 'presentation', 'participants',
43
+                            'userlimit'));
44 44
 
45 45
         $logs = new backup_nested_element('logs');
46 46
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_meeting_ended.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      * @return string
39 39
      */
40 40
     public function get_description() {
41
-        $a = (object) array('userid' => $this->userid, 'bigbluebuttonbnid' => $this->objectid, 'courseid' => $this->contextinstanceid);
41
+        $a = (object)array('userid' => $this->userid, 'bigbluebuttonbnid' => $this->objectid, 'courseid' => $this->contextinstanceid);
42 42
         return get_string('event_meeting_ended_description', 'bigbluebuttonbn', $a);
43 43
     }
44 44
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_published.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 block discarded – undo
38 38
      * @return string
39 39
      */
40 40
     public function get_description() {
41
-        $rid = isset($this->other['rid'])? $this->other['rid']: '';
42
-        $a = (object) array('userid' => $this->userid, 'recordingid' => $rid, 'courseid' => $this->contextinstanceid);
41
+        $rid = isset($this->other['rid']) ? $this->other['rid'] : '';
42
+        $a = (object)array('userid' => $this->userid, 'recordingid' => $rid, 'courseid' => $this->contextinstanceid);
43 43
         return get_string('event_recording_published_description', 'bigbluebuttonbn', $a);
44 44
     }
45 45
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_deleted.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 block discarded – undo
38 38
      * @return string
39 39
      */
40 40
     public function get_description() {
41
-        $rid = isset($this->other['rid'])? $this->other['rid']: '';
42
-        $a = (object) array('userid' => $this->userid, 'recordingid' => $rid, 'courseid' => $this->contextinstanceid);
41
+        $rid = isset($this->other['rid']) ? $this->other['rid'] : '';
42
+        $a = (object)array('userid' => $this->userid, 'recordingid' => $rid, 'courseid' => $this->contextinstanceid);
43 43
         return get_string('event_recording_published_description', 'bigbluebuttonbn', $a);
44 44
     }
45 45
 
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
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      * @return string
39 39
      */
40 40
     public function get_description() {
41
-        $a = (object) array('userid' => $this->userid, 'bigbluebuttonbnid' => $this->objectid, 'courseid' => $this->contextinstanceid);
41
+        $a = (object)array('userid' => $this->userid, 'bigbluebuttonbnid' => $this->objectid, 'courseid' => $this->contextinstanceid);
42 42
         return get_string('event_meeting_ended_description', 'bigbluebuttonbn', $a);
43 43
     }
44 44
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_unpublished.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 block discarded – undo
38 38
      * @return string
39 39
      */
40 40
     public function get_description() {
41
-        $rid = isset($this->other['rid'])? $this->other['rid']: '';
42
-        $a = (object) array('userid' => $this->userid, 'recordingid' => $rid, 'courseid' => $this->contextinstanceid);
41
+        $rid = isset($this->other['rid']) ? $this->other['rid'] : '';
42
+        $a = (object)array('userid' => $this->userid, 'recordingid' => $rid, 'courseid' => $this->contextinstanceid);
43 43
         return get_string('event_recording_published_description', 'bigbluebuttonbn', $a);
44 44
     }
45 45
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_imported.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 block discarded – undo
38 38
      * @return string
39 39
      */
40 40
     public function get_description() {
41
-        $rid = isset($this->other['rid'])? $this->other['rid']: '';
42
-        $a = (object) array('userid' => $this->userid, 'recordingid' => $rid, 'courseid' => $this->contextinstanceid);
41
+        $rid = isset($this->other['rid']) ? $this->other['rid'] : '';
42
+        $a = (object)array('userid' => $this->userid, 'recordingid' => $rid, 'courseid' => $this->contextinstanceid);
43 43
         return get_string('event_recording_published_description', 'bigbluebuttonbn', $a);
44 44
     }
45 45
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_meeting_left.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      * @return string
39 39
      */
40 40
     public function get_description() {
41
-        $a = (object) array('userid' => $this->userid, 'bigbluebuttonbnid' => $this->objectid, 'courseid' => $this->contextinstanceid);
41
+        $a = (object)array('userid' => $this->userid, 'bigbluebuttonbnid' => $this->objectid, 'courseid' => $this->contextinstanceid);
42 42
         return get_string('event_meeting_ended_description', 'bigbluebuttonbn', $a);
43 43
     }
44 44
 
Please login to merge, or discard this patch.