Permalink
Browse files

Remove DBIx::Connector::Proxy.

It was only used with `with`, which was deprecated in v0.34 and removed in 6717f10.
  • Loading branch information...
1 parent 8ec4b44 commit 19b8452aec0fc3cfd1884fc922a2a8fae98667d9 @theory committed Sep 27, 2011
Showing with 0 additions and 36 deletions.
  1. +0 −36 lib/DBIx/Connector.pm
View
@@ -287,42 +287,6 @@ sub svp {
return $wantarray ? @ret : $ret[0];
}
-PROXY: {
- package DBIx::Connector::Proxy;
- our $VERSION = '0.50';
-
- sub new {
- require Carp;
- my ($class, $conn, $mode) = @_;
- Carp::croak('Missing required mode argument') unless $mode;
- Carp::croak(qq{Invalid mode: "$mode"})
- unless $mode =~ /^(?:fixup|(?:no_)?ping)$/;
- bless {
- conn => $conn,
- mode => $mode,
- } => $class;
- }
-
- sub mode { shift->{mode} }
- sub conn { shift->{conn} }
- sub dbh { shift->{conn}->dbh }
-
- sub run {
- my $self = shift;
- $self->{conn}->run( $self->{mode} => @_ );
- }
-
- sub txn {
- my $self = shift;
- $self->{conn}->txn( $self->{mode} => @_ );
- }
-
- sub svp {
- my $self = shift;
- $self->{conn}->svp( $self->{mode} => @_ );
- }
-}
-
sub _exec {
my ($dbh, $code, $wantarray) = @_;
local $_ = $dbh;

0 comments on commit 19b8452

Please sign in to comment.