summaryrefslogtreecommitdiffstats
path: root/extensions/Push/Extension.pm
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Push/Extension.pm')
-rw-r--r--extensions/Push/Extension.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/extensions/Push/Extension.pm b/extensions/Push/Extension.pm
index f682dea35..a5ec24639 100644
--- a/extensions/Push/Extension.pm
+++ b/extensions/Push/Extension.pm
@@ -656,4 +656,13 @@ sub db_sanitize {
$dbh->do("DELETE FROM push_options");
}
+
+sub install_update_db {
+ my $dbh = Bugzilla->dbh;
+ $dbh->do("DELETE FROM push_options WHERE connector = ?", undef, "Aha");
+ $dbh->do("DELETE FROM push_log WHERE connector = ?", undef, "Aha");
+ $dbh->do("DELETE FROM push_backlog WHERE connector = ?", undef, "Aha");
+ $dbh->do("DELETE FROM push_backoff WHERE connector = ?", undef, "Aha");
+}
+
__PACKAGE__->NAME;