Completed
Push — master ( 0bd789...53fc0f )
by Jesus
02:55
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.
lang/en/bigbluebuttonbn.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -304,9 +304,9 @@
 block discarded – undo
304 304
 $string['event_meeting_left'] = 'BigBlueButtonBN meeting left';
305 305
 $string['event_meeting_left_description'] = 'The user with id \'{$a->userid}\' has left a bigbluebutton meeting for the bigbluebuttonbn activity with id \'{$a->bigbluebuttonbnid}\' for the course id \'$this->courseid\'.';
306 306
 $string['event_recording_deleted'] = 'Recording deleted';
307
-$string['event_recording_deleted_description'] = 'The user with id \'{$a->userid}\' has deleted a recording with id \'{$a->recordingid}\' from the course id \'{$a->courseid}\'.';;
307
+$string['event_recording_deleted_description'] = 'The user with id \'{$a->userid}\' has deleted a recording with id \'{$a->recordingid}\' from the course id \'{$a->courseid}\'.'; ;
308 308
 $string['event_recording_imported'] = 'Recording imported';
309
-$string['event_recording_imported_description'] = 'The user with id \'{$a->userid}\' has imported a recording with id \'{$a->recordingid}\' into the course id \'{$a->courseid}\'.';;
309
+$string['event_recording_imported_description'] = 'The user with id \'{$a->userid}\' has imported a recording with id \'{$a->recordingid}\' into the course id \'{$a->courseid}\'.'; ;
310 310
 $string['event_recording_published'] = 'Recording published';
311 311
 $string['event_recording_published_description'] = 'The user with id \'{$a->userid}\' has published a recording with id \'{$a->recordingid}\' in the course id \'{$a->courseid\'}.';
312 312
 $string['event_recording_unpublished'] = 'Recording unpublished';
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.