MDL-65019 core_course: Update to fix whitespace.
authorAdrian Greeve <abgreeve@gmail.com>
Fri, 5 Apr 2019 01:33:13 +0000 (09:33 +0800)
committerAdrian Greeve <abgreeve@gmail.com>
Fri, 5 Apr 2019 01:33:13 +0000 (09:33 +0800)
course/externallib.php

index fb3481a..97a42c2 100644 (file)
@@ -328,8 +328,8 @@ class core_course_external extends external_api {
                                 foreach ($contents as $content) {
                                     // Check repository file (only main file).
                                     if (!isset($module['contentsinfo']['repositorytype'])) {
-                                           $module['contentsinfo']['repositorytype'] =
-                                                   isset($content['repositorytype']) ? $content['repositorytype'] : '';
+                                        $module['contentsinfo']['repositorytype'] =
+                                            isset($content['repositorytype']) ? $content['repositorytype'] : '';
                                     }
                                     if (isset($content['filesize'])) {
                                         $module['contentsinfo']['filessize'] += $content['filesize'];