Passed
Push — master ( 674968...c658ae )
by Jacob
01:29
created
lib.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                     'videortcicon' => $videortcicon,
69 69
                     'oldermoodle' => $moodleversion < $moodle32,
70 70
                     'maxrecsize' => $maxrecsize
71
-              );
71
+                );
72 72
 
73 73
     return $params;
74 74
 }
@@ -80,26 +80,26 @@  discard block
 block discarded – undo
80 80
     global $PAGE;
81 81
 
82 82
     $PAGE->requires->strings_for_js(array('audiortc',
83
-                                          'videortc',
84
-                                          'insecurealert',
85
-                                          'inputdevicealert_title',
86
-                                          'inputdevicealert',
87
-                                          'browseralert_title',
88
-                                          'browseralert',
89
-                                          'startrecording',
90
-                                          'recordagain',
91
-                                          'stoprecording',
92
-                                          'recordingfailed',
93
-                                          'attachrecording',
94
-                                          'norecordingfound',
95
-                                          'nearingmaxsize',
96
-                                          'uploadprogress',
97
-                                          'uploadfailed',
98
-                                          'uploadfailed404',
99
-                                          'uploadaborted',
100
-                                          'annotationprompt',
101
-                                          'annotation:audio',
102
-                                          'annotation:video'),
83
+                                            'videortc',
84
+                                            'insecurealert',
85
+                                            'inputdevicealert_title',
86
+                                            'inputdevicealert',
87
+                                            'browseralert_title',
88
+                                            'browseralert',
89
+                                            'startrecording',
90
+                                            'recordagain',
91
+                                            'stoprecording',
92
+                                            'recordingfailed',
93
+                                            'attachrecording',
94
+                                            'norecordingfound',
95
+                                            'nearingmaxsize',
96
+                                            'uploadprogress',
97
+                                            'uploadfailed',
98
+                                            'uploadfailed404',
99
+                                            'uploadaborted',
100
+                                            'annotationprompt',
101
+                                            'annotation:audio',
102
+                                            'annotation:video'),
103 103
                                     'atto_recordrtc');
104 104
 }
105 105
 
Please login to merge, or discard this patch.
save.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,5 +74,5 @@
 block discarded – undo
74 74
 
75 75
 // OK response.
76 76
 $filetarget = $filesaved->get_contextid().'/'.$filesaved->get_component().'/'.$filesaved->get_filearea().'/'.
77
-              $filesaved->get_itemid().'/'.$filesaved->get_filename();
77
+                $filesaved->get_itemid().'/'.$filesaved->get_filename();
78 78
 echo($filetarget);
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -61,12 +61,12 @@
 block discarded – undo
61 61
 // Prepare file record object.
62 62
 $usercontext = context_user::instance($USER->id);
63 63
 $fileinfo = array(
64
-    'contextid' => $usercontext->id,    // ID of context.
64
+    'contextid' => $usercontext->id, // ID of context.
65 65
     'component' => 'atto_recordrtc', // Usually = table name.
66
-    'filearea' => 'annotation',         // Usually = table name.
67
-    'itemid' => time(),                 // Usually = ID of row in table.
68
-    'filepath' => '/',                  // Any path beginning and ending in "/".
69
-    'filename' => $filename,            // Any filename.
66
+    'filearea' => 'annotation', // Usually = table name.
67
+    'itemid' => time(), // Usually = ID of row in table.
68
+    'filepath' => '/', // Any path beginning and ending in "/".
69
+    'filename' => $filename, // Any filename.
70 70
     'author' => fullname($USER),
71 71
     'licence' => $CFG->sitedefaultlicense
72 72
 );
Please login to merge, or discard this patch.