浏览代码

Atualizar 'locallib.php'

Felipe-cavalieri 5 年之前
父节点
当前提交
7d79b1b8e0
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      locallib.php

+ 4 - 4
locallib.php

@@ -6,11 +6,11 @@ namespace gradeimporter;
 use context_user;
 
 class feedback {
-  	public static function is_capability() {
-        global $USER;
+    public static function is_capability() {
+      global $USER;
 
-        $usercontext = context_user::instance($USER->id);
-        return has_capability('moodle/course:update', $usercontext);
+      $usercontext = context_user::instance($USER->id);
+      return has_capability('moodle/course:update', $usercontext);
     }
   
     public static function get_comments() {