Commit c147adf1 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge branch 'DBAL-261' into 2.2

parents 434228a5 952dc05c
......@@ -24,6 +24,7 @@ use Doctrine\DBAL\Connection,
Doctrine\DBAL\Driver,
Doctrine\DBAL\Configuration,
Doctrine\Common\EventManager,
Doctrine\DBAL\Event\ConnectionEventArgs,
Doctrine\DBAL\Events;
/**
......@@ -161,7 +162,7 @@ class MasterSlaveConnection extends Connection
}
if ($this->_eventManager->hasListeners(Events::postConnect)) {
$eventArgs = new Event\ConnectionEventArgs($this);
$eventArgs = new ConnectionEventArgs($this);
$this->_eventManager->dispatchEvent(Events::postConnect, $eventArgs);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment