mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°6062 - ✅ Fix unit tests
This commit is contained in:
@@ -9,6 +9,7 @@ use Combodo\iTop\Service\Events\EventData;
|
||||
use Combodo\iTop\Service\Events\EventException;
|
||||
use Combodo\iTop\Service\Events\EventService;
|
||||
use Combodo\iTop\Service\Events\EventServiceLog;
|
||||
use Combodo\iTop\Service\Module\ModuleService;
|
||||
use Combodo\iTop\Service\TemporaryObjects\TemporaryObjectManager;
|
||||
|
||||
/**
|
||||
@@ -6286,7 +6287,8 @@ abstract class DBObject implements iDisplay
|
||||
}
|
||||
finally {
|
||||
if (!$oKPI->ComputeStatsForExtension($this, $sCallback, "Event: $sEvent")) {
|
||||
$oKPI->ComputeStats('FireEvent', $sEvent);
|
||||
$sSignature = ModuleService::GetInstance()->GetModuleMethodSignature($this, $sCallback);
|
||||
$oKPI->ComputeStats('FireEvent', "$sEvent callback: $sSignature");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user