Stop using Apache::Session::Lock::MySQL

This commit is contained in:
Xavier Guimard 2010-09-22 10:32:07 +00:00
parent 55be387a5c
commit 759776aae7
2 changed files with 6 additions and 5 deletions

View File

@ -1,9 +1,12 @@
package Apache::Session::Browseable::DBI;
use strict;
use DBI;
use Apache::Session;
our $VERSION = '0.1';
our @ISA = qw(Apache::Session);
sub searchOn {
my ( $class, $args, $selectField, $value, @fields ) = @_;

View File

@ -2,21 +2,19 @@ package Apache::Session::Browseable::MySQL;
use strict;
use Apache::Session;
use Apache::Session::Lock::MySQL;
use Apache::Session::Browseable::DBI;
use Apache::Session::Browseable::Store::MySQL;
use Apache::Session::Generate::MD5;
use Apache::Session::Serialize::Storable;
use Apache::Session::Browseable::DBI;
our $VERSION = '0.3';
our @ISA = qw(Apache::Session::Browseable::DBI Apache::Session);
our @ISA = qw(Apache::Session::Browseable::DBI);
sub populate {
my $self = shift;
$self->{object_store} = new Apache::Session::Browseable::Store::MySQL $self;
$self->{lock_manager} = new Apache::Session::Lock::MySQL $self;
$self->{lock_manager} = new Apache::Session::Lock::Null $self;
$self->{generate} = \&Apache::Session::Generate::MD5::generate;
$self->{validate} = \&Apache::Session::Generate::MD5::validate;
$self->{serialize} = \&Apache::Session::Serialize::Storable::serialize;