From 57394ff026769d28ef6b5d077cb4655adf032936 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 20 Apr 2005 06:42:56 +0000 Subject: Bug 290513: Move CheckIfVotedConfirmed() out of CGI.pl - Patch by Frédéric Buclin r=wicked a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- votes.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'votes.cgi') diff --git a/votes.cgi b/votes.cgi index 128dcba81..3d1ac7113 100755 --- a/votes.cgi +++ b/votes.cgi @@ -28,6 +28,7 @@ use lib "."; use Bugzilla; use Bugzilla::Constants; +use Bugzilla::Bug; require "CGI.pl"; @@ -323,7 +324,8 @@ sub record_votes { 'dependencies READ', 'groups READ', 'fielddefs READ', 'namedqueries READ', 'whine_queries READ', 'watch READ', 'profiles AS watchers READ', 'profiles AS watched READ', - 'user_group_map READ', 'bug_group_map READ'); + 'user_group_map READ', 'bug_group_map READ', + 'email_setting READ'); # Take note of, and delete the user's old votes from the database. SendSQL("SELECT bug_id FROM votes WHERE who = $who"); -- cgit v1.2.3-24-g4f1b