mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 22:48:45 +02:00
Enhance Service locator
This commit is contained in:
@@ -664,7 +664,9 @@ JS
|
||||
*/
|
||||
protected function GetAvailableDashlets(): array
|
||||
{
|
||||
return DashletService::GetInstance()->GetAvailableDashlets();
|
||||
/** @var DashletService $oDashletService */
|
||||
$oDashletService = MetaModel::GetService('DashletService');
|
||||
return $oDashletService->GetAvailableDashlets();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user