From: Peter Rabbitson Date: Fri, 25 Jul 2014 14:17:44 +0000 (+0200) Subject: Bring back resolve_condition deleted in 03f6d1f7 X-Git-Tag: v0.082800~107 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dc297536f;p=dbsrgits%2FDBIx-Class.git Bring back resolve_condition deleted in 03f6d1f7 It doesn't cost anything, and the compat shim turned out to be good enough to make this worthwhile. Also apparently CPAN is using it still FML: http://grep.cpan.me/?q=->_*resolve_condition --- diff --git a/lib/DBIx/Class/ResultSource.pm b/lib/DBIx/Class/ResultSource.pm index 33a0ca4..c03c8da 100644 --- a/lib/DBIx/Class/ResultSource.pm +++ b/lib/DBIx/Class/ResultSource.pm @@ -1675,6 +1675,11 @@ sub _pk_depends_on { return 1; } +sub resolve_condition { + carp 'resolve_condition is a private method, stop calling it'; + shift->_resolve_condition (@_); +} + sub _resolve_condition { # carp_unique sprintf # '_resolve_condition is a private method, and moreover is about to go '