projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
505200d
)
apply claco's result_source_instance patch
David Kamholz [Sat, 8 Jul 2006 16:16:17 +0000 (16:16 +0000)]
lib/DBIx/Class/Schema.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Schema.pm
b/lib/DBIx/Class/Schema.pm
index
40ba39f
..
c7214ca
100644
(file)
--- a/
lib/DBIx/Class/Schema.pm
+++ b/
lib/DBIx/Class/Schema.pm
@@
-390,6
+390,8
@@
sub compose_namespace {
$target_class => $source->result_class, ($base ? $base : ())
);
$source->result_class($target_class);
+ $target_class->result_source_instance($source)
+ if $target_class->can('result_source_instance');
}
}
Class::C3->reinitialize();