Skip to content

Commit

Permalink
This is Moose, so use CMOP
Browse files Browse the repository at this point in the history
  • Loading branch information
ribasushi committed Feb 14, 2010
1 parent 3b27cda commit a77f5ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/DBIx/Class/Admin.pm
Expand Up @@ -87,8 +87,8 @@ has 'schema' => (

sub _build_schema {
my ($self) = @_;
require Class::C3::Componentised;
Class::C3::Componentised->ensure_class_loaded($self->schema_class);
require Class::MOP;
Class::MOP::load_class($self->schema_class);

$self->connect_info->[3]->{ignore_version} =1;
return $self->schema_class->connect(@{$self->connect_info()} ); # , $self->connect_info->[3], { ignore_version => 1} );
Expand Down

0 comments on commit a77f5ab

Please sign in to comment.