Permalink
Browse files

Use the newer get_dbh() rather than the deprecated get_pg() (will req…

…uire more work)
  • Loading branch information...
1 parent 1499a2f commit 22d14de93d47cd742b3d9e0bbb16f74f9b1db431 @chilts committed Nov 23, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/CGI/Conduit/Pg.pm
@@ -3,7 +3,7 @@
package CGI::Conduit::Pg;
use Moose::Role;
-use Projectus::Pg qw(get_pg);
+use Projectus::Pg qw(get_dbh);
## ----------------------------------------------------------------------------
@@ -14,7 +14,7 @@ has 'pg_obj' => ( is => 'rw' );
sub pg {
my ($self) = @_;
- return $self->pg_obj || $self->pg_obj( get_pg() );
+ return $self->pg_obj || $self->pg_obj( get_dbh() );
}
sub pg_begin {

0 comments on commit 22d14de

Please sign in to comment.