From 8f5e0a3a71ba1dc147c876d94004cda0d07ec200 Mon Sep 17 00:00:00 2001 From: Alexander Hartmaier Date: Mon, 4 Oct 2010 14:05:57 +0200 Subject: [PATCH] don't try to use ->resolve_condition which was deprecated in DBIx::Class 0.08103 and bump the DBIx::Class requirement --- Makefile.PL | 2 +- lib/DBIx/Class/ResultSet/RecursiveUpdate.pm | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 697eb3b..a2f957f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,7 +10,7 @@ license 'perl'; repository 'http://github.com/zby/DBIx--Class--ResultSet--RecursiveUpdate/tree/master'; # prereqs -requires 'DBIx::Class' => '0.08100'; +requires 'DBIx::Class' => '0.08103'; requires 'DBIx::Class::IntrospectableM2M'; requires 'SQL::Translator' => '0.11005'; requires 'DateTime'; diff --git a/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm b/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm index b9bf433..78a4bb2 100644 --- a/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm +++ b/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm @@ -194,11 +194,6 @@ sub _update_relation { $self->result_source->_resolve_condition( $info->{cond}, $name, $object ); } - else { - $resolved = - $self->result_source->resolve_condition( $info->{cond}, $name, - $object ); - } # warn "$name resolved: " . Dumper( $resolved ); use Data::Dumper; $resolved = {} -- 2.45.2