소스 검색

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);
     }