mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
DbMigration: Adjust usage of Database::getDb()
This commit is contained in:
parent
fac3855a86
commit
96a6321569
@ -13,12 +13,12 @@ use ipl\Sql\Connection;
|
||||
class DbMigration extends DbMigrationHook
|
||||
{
|
||||
use Database {
|
||||
getDb as public getPublicDb;
|
||||
getDb as private getWebDb;
|
||||
}
|
||||
|
||||
public function getDb(): Connection
|
||||
{
|
||||
return $this->getPublicDb();
|
||||
return $this->getWebDb();
|
||||
}
|
||||
|
||||
public function getName(): string
|
||||
|
Loading…
x
Reference in New Issue
Block a user