[Bast-commits] r8702 - DBIx-Class/0.08/trunk/lib/DBIx/Class
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Sun Feb 14 09:46:51 GMT 2010
Author: ribasushi
Date: 2010-02-14 09:46:51 +0000 (Sun, 14 Feb 2010)
New Revision: 8702
Modified:
DBIx-Class/0.08/trunk/lib/DBIx/Class/Admin.pm
Log:
This is Moose, so use CMOP
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Admin.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Admin.pm 2010-02-14 08:49:44 UTC (rev 8701)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Admin.pm 2010-02-14 09:46:51 UTC (rev 8702)
@@ -87,8 +87,8 @@
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} );
More information about the Bast-commits
mailing list