From 7d677ece7d55266f63924bc64cf2190df7c785a0 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Mon, 4 Sep 2006 23:21:47 +0000 Subject: Bug 283582: Remove UserInGroup in favor of Bugzilla->user->in_group Patch By victory(_RSZ_) r=mkanat, a=myk --- sanitycheck.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sanitycheck.cgi') diff --git a/sanitycheck.cgi b/sanitycheck.cgi index b085feb9d..1c7ab284f 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -86,7 +86,7 @@ my $template = Bugzilla->template; # and restricting access to this installation's administrators (which # prevents users with a legitimate interest in Bugzilla integrity # from accessing the script). -UserInGroup("editbugs") +Bugzilla->user->in_group("editbugs") || ThrowUserError("auth_failure", {group => "editbugs", action => "run", object => "sanity_check"}); -- cgit v1.2.3-24-g4f1b