From: Arthur Axel "fREW" Schmidt Date: Wed, 27 Jan 2010 06:41:26 +0000 (+0000) Subject: use the right module for inject_base X-Git-Tag: v0.900201~47 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c8f87617d81b46acb0d9e6aa42d90b1ba8f65d89;p=dbsrgits%2FDBIx-Class-Journal.git use the right module for inject_base --- diff --git a/lib/DBIx/Class/Schema/Journal.pm b/lib/DBIx/Class/Schema/Journal.pm index 8e0b7e7..deb16f7 100644 --- a/lib/DBIx/Class/Schema/Journal.pm +++ b/lib/DBIx/Class/Schema/Journal.pm @@ -4,6 +4,7 @@ use base qw/DBIx::Class/; use Scalar::Util 'blessed'; use DBIx::Class::Schema::Journal::DB; +use Class::C3::Componentised (); __PACKAGE__->mk_classdata('journal_storage_type'); __PACKAGE__->mk_classdata('journal_connection'); @@ -118,7 +119,7 @@ sub create_journal_for my $audit_source = join("", $s_name, $audit); my $class = blessed($journal_schema) . "::$audit_source"; - DBIx::Class::Componentised->inject_base($class, "DBIx::Class::Schema::Journal::DB::$audit"); + Class::C3::Componentised->inject_base($class, "DBIx::Class::Schema::Journal::DB::$audit"); $class->journal_define_table($source);