Jelajahi Sumber

Fix uninstall process for Student Follow Up plugin

Angel Fernando Quiroz Campos 7 tahun lalu
induk
melakukan
065514f0c1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      plugin/studentfollowup/StudentFollowUpPlugin.php

+ 1 - 1
plugin/studentfollowup/StudentFollowUpPlugin.php

@@ -67,7 +67,7 @@ class StudentFollowUpPlugin extends Plugin
             $fs->remove($pluginEntityPath);
         }
         $table = Database::get_main_table('sfu_post');
-        $sql = "DROP TABLE $table";
+        $sql = "DROP TABLE IF EXISTS $table";
         Database::query($sql);
     }