Back to on_connect in connection, rather than populate_dbh, deploy ensures its connected
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI.pm
index c676254..e46a7bd 100644 (file)
@@ -435,7 +435,6 @@ sub _populate_dbh {
   foreach my $sql_statement (@{$self->on_connect_do || []}) {
     $self->_dbh->do($sql_statement);
   }
-  $self->on_connect->();
 
   $self->_conn_pid($$);
   $self->_conn_tid(threads->tid) if $INC{'threads.pm'};