From: Peter Rabbitson Date: Sun, 14 Feb 2010 09:46:51 +0000 (+0000) Subject: This is Moose, so use CMOP X-Git-Tag: v0.08119~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a77f5ab1c0f242d27d3f77018574c56172bdd95c;p=dbsrgits%2FDBIx-Class.git This is Moose, so use CMOP --- diff --git a/lib/DBIx/Class/Admin.pm b/lib/DBIx/Class/Admin.pm index 80c5f63..284f72d 100644 --- a/lib/DBIx/Class/Admin.pm +++ b/lib/DBIx/Class/Admin.pm @@ -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} );