Explorar o código

Fix uninstall process for Student Follow Up plugin

Angel Fernando Quiroz Campos %!s(int64=7) %!d(string=hai) anos
pai
achega
065514f0c1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
     }