Bug 987205: Bugzilla crashes because it tries to import a non-exported login_token() subroutine from Bugzilla::Auth::Login::Cookie

r=dkl a=justdave


git-svn-id: svn://10.0.0.236/trunk@265317 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org 2014-04-14 19:45:48 +00:00
parent c6f3ccbef9
commit c9bdaf3776
5 changed files with 5 additions and 6 deletions

View File

@ -1 +1 @@
8980 8981

View File

@ -1 +1 @@
32931bb0370328c142e9d63f410d94f9db3c764d db8d9946f92f847a26bca5eb45f31ecaf7f031dd

View File

@ -9,7 +9,7 @@ package Bugzilla::Auth::Login;
use 5.10.1; use 5.10.1;
use strict; use strict;
use fields qw(_login_token); use fields qw();
# Determines whether or not a user can logout. It's really a subroutine, # Determines whether or not a user can logout. It's really a subroutine,
# but we implement it here as a constant. Override it in subclasses if # but we implement it here as a constant. Override it in subclasses if

View File

@ -10,7 +10,8 @@ package Bugzilla::Auth::Login::Cookie;
use 5.10.1; use 5.10.1;
use strict; use strict;
use parent qw(Bugzilla::Auth::Login); use base qw(Bugzilla::Auth::Login);
use fields qw(_login_token);
use Bugzilla::Constants; use Bugzilla::Constants;
use Bugzilla::Util; use Bugzilla::Util;

View File

@ -15,8 +15,6 @@ use Bugzilla::Constants;
use Bugzilla::Util; use Bugzilla::Util;
use Bugzilla::Token; use Bugzilla::Token;
use Bugzilla::Auth::Login::Cookie qw(login_token);
use List::Util qw(first); use List::Util qw(first);
sub new { sub new {