small cleanup to ResultSourceProxy
David Kamholz [Thu, 27 Jul 2006 06:32:47 +0000 (06:32 +0000)]
lib/DBIx/Class/ResultSourceProxy.pm

index 4301c00..a668164 100644 (file)
@@ -27,22 +27,19 @@ sub add_columns {
 *add_column = \&add_columns;
 
 sub has_column {
-  my ($self, $column) = @_;
-  return $self->result_source_instance->has_column($column);
+  shift->result_source_instance->has_column(@_);
 }
 
 sub column_info {
-  my ($self, $column) = @_;
-  return $self->result_source_instance->column_info($column);
+  shift->result_source_instance->column_info(@_);
 }
 
-
 sub columns {
-  return shift->result_source_instance->columns(@_);
+  shift->result_source_instance->columns(@_);
 }
 
 sub remove_columns {
-  return shift->result_source_instance->remove_columns(@_);
+  shift->result_source_instance->remove_columns(@_);
 }
 
 *remove_column = \&remove_columns;