Completed
Pull Request — master (#81)
by
unknown
02:36
created
classes/event/recording_unpublished.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     protected function init($crud = 'r', $edulevel = self::LEVEL_OTHER) {
43 43
         parent::init($crud, $edulevel);
44
-        $this->description = "The user with id '##userid' has unpublished a recording with id ".
44
+        $this->description = "The user with id '##userid' has unpublished a recording with id " .
45 45
             "'##other' in the course id '##courseid'.";
46 46
     }
47 47
 
Please login to merge, or discard this patch.
classes/event/live_session_event.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
      */
42 42
     protected function init($crud = 'r', $edulevel = self::LEVEL_OTHER) {
43 43
         parent::init($crud, $edulevel);
44
-        $this->description = "The user with id '##userid' triggered action ##other in a ".
45
-            "bigbluebutton meeting for the bigbluebuttonbn activity with id ".
44
+        $this->description = "The user with id '##userid' triggered action ##other in a " .
45
+            "bigbluebutton meeting for the bigbluebuttonbn activity with id " .
46 46
             "'##objectid' for the course id '##courseid'.";
47 47
     }
48 48
 
Please login to merge, or discard this patch.
classes/event/recording_unprotected.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     protected function init($crud = 'r', $edulevel = self::LEVEL_OTHER) {
43 43
         parent::init($crud, $edulevel);
44
-        $this->description = "The user with id '##userid' has unprotected a recording with id ".
44
+        $this->description = "The user with id '##userid' has unprotected a recording with id " .
45 45
             "'##other' in the course id '##courseid'.";
46 46
     }
47 47
 
Please login to merge, or discard this patch.
classes/event/recording_imported.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     protected function init($crud = 'r', $edulevel = self::LEVEL_OTHER) {
43 43
         parent::init($crud, $edulevel);
44
-        $this->description = "The user with id '##userid' has imported a recording with id ".
44
+        $this->description = "The user with id '##userid' has imported a recording with id " .
45 45
             "'##other' in the course id '##courseid'.";
46 46
     }
47 47
 
Please login to merge, or discard this patch.
classes/event/meeting_joined.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
      */
42 42
     protected function init($crud = 'r', $edulevel = self::LEVEL_PARTICIPATING) {
43 43
         parent::init($crud, $edulevel);
44
-        $this->description = "The user with id '##userid' has joined a bigbluebutton meeting for ".
45
-            "the bigbluebuttonbn activity with id '##objectid' for the course id ".
44
+        $this->description = "The user with id '##userid' has joined a bigbluebutton meeting for " .
45
+            "the bigbluebuttonbn activity with id '##objectid' for the course id " .
46 46
             "'##courseid'.";
47 47
     }
48 48
 
Please login to merge, or discard this patch.
classes/event/recording_protected.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     protected function init($crud = 'r', $edulevel = self::LEVEL_OTHER) {
43 43
         parent::init($crud, $edulevel);
44
-        $this->description = "The user with id '##userid' has protected a recording with id ".
44
+        $this->description = "The user with id '##userid' has protected a recording with id " .
45 45
             "'##other' in the course id '##courseid'.";
46 46
     }
47 47
 
Please login to merge, or discard this patch.
classes/event/recording_viewed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     protected function init($crud = 'r', $edulevel = self::LEVEL_OTHER) {
43 43
         parent::init($crud, $edulevel);
44
-        $this->description = "The user with id '##userid' has viewed a recording with id ".
44
+        $this->description = "The user with id '##userid' has viewed a recording with id " .
45 45
             "'##other' from the course id '##courseid'.";
46 46
     }
47 47
 
Please login to merge, or discard this patch.
classes/output/mobile.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -49,15 +49,15 @@  discard block
 block discarded – undo
49 49
     public static function mobile_course_view($args) {
50 50
         global $OUTPUT, $USER, $DB;
51 51
 
52
-        $args = (object) $args;
52
+        $args = (object)$args;
53 53
         $cm = get_coursemodule_from_id('bigbluebuttonbn', $args->cmid);
54 54
 
55 55
         // Capabilities check.
56
-        require_login($args->courseid , false , $cm, true, true);
56
+        require_login($args->courseid, false, $cm, true, true);
57 57
 
58 58
         $context = context_module::instance($cm->id);
59 59
 
60
-        require_capability ('mod/bigbluebuttonbn:view', $context);
60
+        require_capability('mod/bigbluebuttonbn:view', $context);
61 61
         if ($args->userid != $USER->id) {
62 62
             require_capability('mod/bigbluebuttonbn:manage', $context);
63 63
         }
@@ -106,15 +106,15 @@  discard block
 block discarded – undo
106 106
     public static function mobile_issues_view($args) {
107 107
         global $OUTPUT, $USER, $DB;
108 108
 
109
-        $args = (object) $args;
109
+        $args = (object)$args;
110 110
         $cm = get_coursemodule_from_id('bigbluebuttonbn', $args->cmid);
111 111
 
112 112
         // Capabilities check.
113
-        require_login($args->courseid , false , $cm, true, true);
113
+        require_login($args->courseid, false, $cm, true, true);
114 114
 
115 115
         $context = context_module::instance($cm->id);
116 116
 
117
-        require_capability ('mod/bigbluebuttonbn:view', $context);
117
+        require_capability('mod/bigbluebuttonbn:view', $context);
118 118
         if ($args->userid != $USER->id) {
119 119
             require_capability('mod/bigbluebuttonbn:manage', $context);
120 120
         }
Please login to merge, or discard this patch.