projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
281e677
)
No method aliasing in OO code, *ever*
Peter Rabbitson [Sun, 17 Jan 2010 08:41:49 +0000 (08:41 +0000)]
lib/DBIx/Class/ResultSourceProxy.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/ResultSourceProxy.pm
b/lib/DBIx/Class/ResultSourceProxy.pm
index
696c9a5
..
ffef623
100644
(file)
--- a/
lib/DBIx/Class/ResultSourceProxy.pm
+++ b/
lib/DBIx/Class/ResultSourceProxy.pm
@@
-41,7
+41,9
@@
sub add_columns {
}
}
-*add_column = \&add_columns;
+sub add_column {
+ shift->add_columns(@_);
+}
sub has_column {
shift->result_source_instance->has_column(@_);