Commit a5826b4c authored by anarcat's avatar anarcat Committed by anarcat

revoke grants only once (ported from d5 branch)

parent e8c67780
......@@ -53,8 +53,7 @@ function _provision_mysql_destroy_site_db($db_name, $db_user, $db_passwd, $db_ho
}
provision_log("notice", "Revoking privileges");
if (!_provision_mysql_revoke($db_name, $db_user) ||
!_provision_mysql_revoke($db_name, $db_user, $db_host)) {
if (!_provision_mysql_revoke($db_name, $db_user)) {
provision_log("warning", t("Failed to revoke user privileges"));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment