Completed
Push — master ( afafed...c9213c )
by Jesus
13s
created
lib.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     }
59 59
     $params = array('contextid' => $context->id,
60 60
                     'sesskey' => $sesskey,
61
-                    'recordrtcroot' => $CFG->wwwroot.'/lib/editor/atto/plugins/recordrtc/',
61
+                    'recordrtcroot' => $CFG->wwwroot . '/lib/editor/atto/plugins/recordrtc/',
62 62
                     'allowedtypes' => $allowedtypes,
63 63
                     'audiobitrate' => $audiobitrate,
64 64
                     'videobitrate' => $videobitrate,
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 /**
121 121
  * Define file-access behaviour for this plugin.
122 122
  */
123
-function atto_recordrtc_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array()) {
123
+function atto_recordrtc_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options = array()) {
124 124
     if ($filearea !== 'annotation') {
125 125
         return false;
126 126
     }
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     if (!$args) {
136 136
         $filepath = '/';
137 137
     } else {
138
-        $filepath = '/'.implode('/', $args).'/';
138
+        $filepath = '/' . implode('/', $args) . '/';
139 139
     }
140 140
 
141 141
     $fs = get_file_storage();
Please login to merge, or discard this patch.