Fix uninstall process for Student Follow Up plugin

pull/2487/head
Angel Fernando Quiroz Campos 9 years ago
parent 93cda796d1
commit 065514f0c1
  1. 2
      plugin/studentfollowup/StudentFollowUpPlugin.php

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

Loading…
Cancel
Save