X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FView.pm;h=40ed7241b2c7776ffaea60e4a6fc3d9bc02905da;hb=e5c7adea1c2115b30ff57b2f6e6035020c5216d3;hp=51ff5d41836048a9f8746f7d0b68ddda6afce221;hpb=a8dc76a1260561f17e6513a243473967582ed48a;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/View.pm b/lib/Catalyst/View.pm index 51ff5d4..40ed724 100644 --- a/lib/Catalyst/View.pm +++ b/lib/Catalyst/View.pm @@ -52,22 +52,6 @@ Merges two hashes together recursively, giving right-hand precedence. =cut -sub merge_config_hashes { - my ( $self, $lefthash, $righthash ) = @_; - - my %merged = %$lefthash; - for my $key ( keys %$righthash ) { - my $right_ref = ( ref $righthash->{ $key } || '' ) eq 'HASH'; - my $left_ref = ( ( exists $lefthash->{ $key } && ref $lefthash->{ $key } ) || '' ) eq 'HASH'; - if( $right_ref and $left_ref ) { - $merged{ $key } = $self->merge_config_hashes( - $lefthash->{ $key }, $righthash->{ $key } - ); - } - } -} - - =head1 AUTHOR Sebastian Riedel, C