Skip to content

Commit

Permalink
FIX uninstall plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
lbayle committed Mar 27, 2021
1 parent 60fcd6f commit 077451e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function removeMantisPlugins() {
// deactivate plugin
try {
$sql = AdodbWrapper::getInstance();
$query = "DELETE FROM {plugin} WHERE basename FROM {plugin} WHERE basename = ".$sql->db_param();
$query = "DELETE FROM {plugin} WHERE basename = ".$sql->db_param();
$sql->sql_query($query, array('CodevTT')) or die("<span style='color:red'>Query FAILED: $query <br/>".AdodbWrapper::getInstance()->getErrorMsg()."</span>");
} catch (Exception $e) {
return false;
Expand Down

0 comments on commit 077451e

Please sign in to comment.