Explorar el Código

Fix uninstall process for Student Follow Up plugin

Angel Fernando Quiroz Campos hace 7 años
padre
commit
065514f0c1
Se han modificado 1 ficheros con 1 adiciones y 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);
     }