X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDB.pm;h=df232b305b0d71de03dbb8eee00648fa89353504;hb=97940e368df996e1fe6111fb14f560594dc4c0b2;hp=ea4a5a6dc78e9553fa6d7b09d9fb4174bbb254eb;hpb=534aff612dee17fe18831e445d464d942c27c172;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/DB.pm b/lib/DBIx/Class/DB.pm index ea4a5a6..df232b3 100644 --- a/lib/DBIx/Class/DB.pm +++ b/lib/DBIx/Class/DB.pm @@ -176,7 +176,7 @@ native L system. =cut sub resultset_instance { - $_[0]->result_source_instance->resultset + $_[0]->result_source->resultset } =begin hidden @@ -194,7 +194,7 @@ __PACKAGE__->mk_classaccessor('_result_source_instance' => []); # Yep. this is horrific. Basically what's happening here is that # (with good reason) DBIx::Class::Schema copies the result source for # registration. Because we have a retarded setup order forced on us we need -# to actually make our ->result_source_instance -be- the source used, and we +# to actually make our ->result_source -be- the source used, and we # need to get the source name and schema into ourselves. So this makes it # happen.