소스 검색

Fix php warning #2490

jmontoyaa 7 년 전
부모
커밋
205999cc6c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      plugin/notebookteacher/src/NotebookTeacherPlugin.php

+ 1 - 1
plugin/notebookteacher/src/NotebookTeacherPlugin.php

@@ -78,7 +78,7 @@ class NotebookTeacherPlugin extends Plugin
         // Deleting course settings.
         $this->uninstall_course_fields_in_all_courses($this->course_settings);
 
-        $tablesToBeDeleted = [TABLE_NOTEBOOKTEACHER];
+        $tablesToBeDeleted = [self::TABLE_NOTEBOOKTEACHER];
         foreach ($tablesToBeDeleted as $tableToBeDeleted) {
             $table = Database::get_main_table($tableToBeDeleted);
             $sql = "DROP TABLE IF EXISTS $table";