mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-14 05:28:10 +02:00
Migration: do not require a Director\Db
This commit is contained in:
parent
f2bbd2d5d7
commit
2bc477daaa
@ -4,7 +4,7 @@ namespace Icinga\Module\Director\Db;
|
||||
|
||||
use Exception;
|
||||
use Icinga\Exception\IcingaException;
|
||||
use Icinga\Module\Director\Db;
|
||||
use Icinga\Module\Director\Data\Db\DbConnection;
|
||||
|
||||
class Migration
|
||||
{
|
||||
@ -24,7 +24,7 @@ class Migration
|
||||
$this->sql = $sql;
|
||||
}
|
||||
|
||||
public function apply(Db $connection)
|
||||
public function apply(DbConnection $connection)
|
||||
{
|
||||
$db = $connection->getDbAdapter();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user