Merge branch 'master' of git.icinga.org:icingaweb2-module-director
This commit is contained in:
commit
a2da7581b0
|
@ -797,7 +797,7 @@ abstract class DbObject
|
||||||
$class = get_called_class();
|
$class = get_called_class();
|
||||||
$obj = new $class();
|
$obj = new $class();
|
||||||
$obj->connection = $connection;
|
$obj->connection = $connection;
|
||||||
$obj->setDb($connection->getDb())->setKey($id);
|
$obj->setDb($connection->getDbAdapter())->setKey($id);
|
||||||
return $obj->existsInDb();
|
return $obj->existsInDb();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue