@@ -34,8 +34,8 @@ |
||
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 |
@@ -34,7 +34,7 @@ |
||
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 |
@@ -34,8 +34,8 @@ |
||
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 |
@@ -34,8 +34,8 @@ |
||
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 |
@@ -34,8 +34,8 @@ |
||
34 | 34 | */ |
35 | 35 | protected function init() { |
36 | 36 | parent::init(); |
37 | - $this->description = "The user with id '$this->userid' has left 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 left a bigbluebutton meeting for " . |
|
38 | + "the bigbluebuttonbn activity with id '$this->objectid' for the course id " . |
|
39 | 39 | "'$this->contextinstanceid'."; |
40 | 40 | } |
41 | 41 |
@@ -34,7 +34,7 @@ |
||
34 | 34 | */ |
35 | 35 | protected function init() { |
36 | 36 | parent::init(); |
37 | - $this->description = "The user with id '$this->userid' has viewed a recording with id ". |
|
37 | + $this->description = "The user with id '$this->userid' has viewed a recording with id " . |
|
38 | 38 | "'$this->other' from the course id '$this->contextinstanceid'."; |
39 | 39 | } |
40 | 40 |
@@ -27,7 +27,7 @@ |
||
27 | 27 | |
28 | 28 | global $CFG; |
29 | 29 | |
30 | -require_once(dirname(__FILE__).'/locallib.php'); |
|
30 | +require_once(dirname(__FILE__) . '/locallib.php'); |
|
31 | 31 | |
32 | 32 | if ($ADMIN->fulltree) { |
33 | 33 | // Configuration for BigBlueButton. |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | defined('MOODLE_INTERNAL') || die; |
27 | 27 | |
28 | -require_once($CFG->dirroot.'/mod/bigbluebuttonbn/backup/moodle2/backup_bigbluebuttonbn_stepslib.php'); |
|
28 | +require_once($CFG->dirroot . '/mod/bigbluebuttonbn/backup/moodle2/backup_bigbluebuttonbn_stepslib.php'); |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * Backup task that provides all the settings and steps to perform one complete backup of the activity. |
@@ -62,14 +62,14 @@ discard block |
||
62 | 62 | public static function encode_content_links($content) { |
63 | 63 | global $CFG; |
64 | 64 | |
65 | - $base = preg_quote($CFG->wwwroot.'/mod/bigbluebuttonbn', '#'); |
|
65 | + $base = preg_quote($CFG->wwwroot . '/mod/bigbluebuttonbn', '#'); |
|
66 | 66 | |
67 | 67 | // Link to the list of bigbluebuttonbns. |
68 | - $pattern = '#('.$base."\/index.php\?id\=)([0-9]+)#"; |
|
68 | + $pattern = '#(' . $base . "\/index.php\?id\=)([0-9]+)#"; |
|
69 | 69 | $content = preg_replace($pattern, '$@BIGBLUEBUTTONBNINDEX*$2@$', $content); |
70 | 70 | |
71 | 71 | // Link to bigbluebuttonbn view by moduleid. |
72 | - $pattern = '#('.$base."\/view.php\?id\=)([0-9]+)#"; |
|
72 | + $pattern = '#(' . $base . "\/view.php\?id\=)([0-9]+)#"; |
|
73 | 73 | $content = preg_replace($pattern, '$@BIGBLUEBUTTONBNVIEWBYID*$2@$', $content); |
74 | 74 | |
75 | 75 | return $content; |
@@ -48,7 +48,7 @@ |
||
48 | 48 | $logs = new backup_nested_element('logs'); |
49 | 49 | |
50 | 50 | $log = new backup_nested_element('log', array('id'), array( |
51 | - 'courseid', 'bigbluebuttonbnid', 'userid', 'timecreated', 'meetingid', 'log', 'meta', )); |
|
51 | + 'courseid', 'bigbluebuttonbnid', 'userid', 'timecreated', 'meetingid', 'log', 'meta',)); |
|
52 | 52 | |
53 | 53 | // Build the tree. |
54 | 54 | $bigbluebuttonbn->add_child($logs); |