Backed out my r3073, and doc'd the fact that it takes a hashref that might be changed
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Relationship / Accessor.pm
index e98c9a2..b77ce00 100644 (file)
@@ -84,7 +84,6 @@ sub new {
 
 sub update {
   my ($obj, $attrs, @rest) = @_;
-  $attrs = { %$attrs} if $attrs; # Take copy so we dont change passed hashref
   my $info;
   foreach my $key (keys %{$attrs||{}}) {
     next unless $info = $obj->relationship_info($key);