From: Brandon Black Date: Fri, 30 Mar 2007 22:46:18 +0000 (+0000) Subject: only _load_external for the classes we are supposed to X-Git-Tag: 0.03999_01~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7545170492ef1acb1d18c1aff3042ee0ce7ee853;p=dbsrgits%2FDBIx-Class-Schema-Loader.git only _load_external for the classes we are supposed to --- diff --git a/lib/DBIx/Class/Schema/Loader/Base.pm b/lib/DBIx/Class/Schema/Loader/Base.pm index 2413960..0207217 100644 --- a/lib/DBIx/Class/Schema/Loader/Base.pm +++ b/lib/DBIx/Class/Schema/Loader/Base.pm @@ -365,7 +365,7 @@ sub _load_tables { } $self->_load_external($_) - for ($self->schema_class, values %{$self->classes}); + for map { $self->classes->{$_} } @tables; $self->_dump_to_dir if $self->dump_directory;