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:
parent
c6f3ccbef9
commit
c9bdaf3776
@ -1 +1 @@
|
||||
8980
|
||||
8981
|
||||
@ -1 +1 @@
|
||||
32931bb0370328c142e9d63f410d94f9db3c764d
|
||||
db8d9946f92f847a26bca5eb45f31ecaf7f031dd
|
||||
@ -9,7 +9,7 @@ package Bugzilla::Auth::Login;
|
||||
|
||||
use 5.10.1;
|
||||
use strict;
|
||||
use fields qw(_login_token);
|
||||
use fields qw();
|
||||
|
||||
# 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
|
||||
|
||||
@ -10,7 +10,8 @@ package Bugzilla::Auth::Login::Cookie;
|
||||
use 5.10.1;
|
||||
use strict;
|
||||
|
||||
use parent qw(Bugzilla::Auth::Login);
|
||||
use base qw(Bugzilla::Auth::Login);
|
||||
use fields qw(_login_token);
|
||||
|
||||
use Bugzilla::Constants;
|
||||
use Bugzilla::Util;
|
||||
|
||||
@ -15,8 +15,6 @@ use Bugzilla::Constants;
|
||||
use Bugzilla::Util;
|
||||
use Bugzilla::Token;
|
||||
|
||||
use Bugzilla::Auth::Login::Cookie qw(login_token);
|
||||
|
||||
use List::Util qw(first);
|
||||
|
||||
sub new {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user