From 41e381d9d5d1fe53fbf92127c3f65eac4f531f36 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 24 Aug 2006 22:56:39 +0000 Subject: Bug 343809: Merge FlagType::validate() with Flag::validate() - Patch by Frédéric Buclin a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- attachment.cgi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'attachment.cgi') diff --git a/attachment.cgi b/attachment.cgi index 6545f149e..7292f014d 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -643,14 +643,13 @@ sub update validatePrivate(); my $dbh = Bugzilla->dbh; - # The order of these function calls is important, as both Flag::validate - # and FlagType::validate assume User::match_field has ensured that the - # values in the requestee fields are legitimate user email addresses. + # The order of these function calls is important, as Flag::validate + # assumes User::match_field has ensured that the values in the + # requestee fields are legitimate user email addresses. Bugzilla::User::match_field($cgi, { '^requestee(_type)?-(\d+)$' => { 'type' => 'multi' } }); Bugzilla::Flag::validate($cgi, $bugid, $attach_id); - Bugzilla::FlagType::validate($cgi, $bugid, $attach_id); my $bug = new Bugzilla::Bug($bugid); # Lock database tables in preparation for updating the attachment. -- cgit v1.2.3-24-g4f1b