From fb079a1bcf1a9eb442dbd746d787d573a89fdc4a Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 11 Aug 2006 06:44:49 +0000 Subject: Bug 347291: Make Bugzilla::User use Bugzilla::Object Patch By Max Kanat-Alexander r=LpSolit, a=myk --- relogin.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'relogin.cgi') diff --git a/relogin.cgi b/relogin.cgi index 566a1df37..e47dbe003 100755 --- a/relogin.cgi +++ b/relogin.cgi @@ -125,7 +125,7 @@ elsif ($action eq 'begin-sudo') { # Get & verify the target user (the user who we will be impersonating) my $target_user = - Bugzilla::User->new_from_login($cgi->param('target_login')); + new Bugzilla::User({ name => $cgi->param('target_login') }); unless (defined($target_user) && $target_user->id && $user->can_see_user($target_user)) -- cgit v1.2.3-65-gdbad