Commit db8d9946 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 987205: Bugzilla crashes because it tries to import a non-exported…

Bug 987205: Bugzilla crashes because it tries to import a non-exported login_token() subroutine from Bugzilla::Auth::Login::Cookie r=dkl a=justdave
parent 32931bb0
...@@ -9,7 +9,7 @@ package Bugzilla::Auth::Login; ...@@ -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
......
...@@ -10,7 +10,8 @@ package Bugzilla::Auth::Login::Cookie; ...@@ -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;
......
...@@ -15,8 +15,6 @@ use Bugzilla::Constants; ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment