mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-05-31 20:08:02 +02:00
Deprecate ServiceContainerTrait::getService.
This commit is contained in:
@@ -37,7 +37,7 @@ class Control
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->database = static::getService('database.connection');
|
||||
$this->database = static::getServiceContainer()->getDatabaseConnection();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user