ソースを参照

Fix uninstall process for Student Follow Up plugin

Angel Fernando Quiroz Campos 7 年 前
コミット
065514f0c1
1 ファイル変更1 行追加1 行削除
  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);
     }