Migration: do not require a Director\Db

This commit is contained in:
Thomas Gelf 2017-02-14 09:13:42 +01:00
parent f2bbd2d5d7
commit 2bc477daaa
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ namespace Icinga\Module\Director\Db;
use Exception; use Exception;
use Icinga\Exception\IcingaException; use Icinga\Exception\IcingaException;
use Icinga\Module\Director\Db; use Icinga\Module\Director\Data\Db\DbConnection;
class Migration class Migration
{ {
@ -24,7 +24,7 @@ class Migration
$this->sql = $sql; $this->sql = $sql;
} }
public function apply(Db $connection) public function apply(DbConnection $connection)
{ {
$db = $connection->getDbAdapter(); $db = $connection->getDbAdapter();