summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Milestone.pm
diff options
context:
space:
mode:
authorEdmund Yan <edmundhyan@gmail.com>2011-08-21 02:11:29 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-08-21 02:11:29 +0200
commit4f023328eeab5dd137263a2488fb8ef307170f07 (patch)
tree7ba9bd964623b0079801887fb1fbd980a17014dd /Bugzilla/Milestone.pm
parente7d28afbc4990c564be08f77cc472f92962f8f45 (diff)
downloadbugzilla-4f023328eeab5dd137263a2488fb8ef307170f07.tar.gz
bugzilla-4f023328eeab5dd137263a2488fb8ef307170f07.tar.xz
Bug 679516: Call Bugzilla::Object->remove_from_db when deleting an object
r/a=LpSolit
Diffstat (limited to 'Bugzilla/Milestone.pm')
-rw-r--r--Bugzilla/Milestone.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Milestone.pm b/Bugzilla/Milestone.pm
index 92bc2192a..61e2a12bb 100644
--- a/Bugzilla/Milestone.pm
+++ b/Bugzilla/Milestone.pm
@@ -158,7 +158,7 @@ sub remove_from_db {
}
}
- $dbh->do('DELETE FROM milestones WHERE id = ?', undef, $self->id);
+ $self->SUPER::remove_from_db();
}
################################