Browse Source

Fix php warning #2490

jmontoyaa 7 years ago
parent
commit
205999cc6c
1 changed files with 1 additions and 1 deletions
  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.
         // Deleting course settings.
         $this->uninstall_course_fields_in_all_courses($this->course_settings);
         $this->uninstall_course_fields_in_all_courses($this->course_settings);
 
 
-        $tablesToBeDeleted = [TABLE_NOTEBOOKTEACHER];
+        $tablesToBeDeleted = [self::TABLE_NOTEBOOKTEACHER];
         foreach ($tablesToBeDeleted as $tableToBeDeleted) {
         foreach ($tablesToBeDeleted as $tableToBeDeleted) {
             $table = Database::get_main_table($tableToBeDeleted);
             $table = Database::get_main_table($tableToBeDeleted);
             $sql = "DROP TABLE IF EXISTS $table";
             $sql = "DROP TABLE IF EXISTS $table";