mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°985 - Add applicable contexts on Trigger (logs)
This commit is contained in:
@@ -110,10 +110,11 @@ abstract class Trigger extends cmdbAbstractObject
|
||||
if (!$this->IsContextValid())
|
||||
{
|
||||
// Trigger does not match the current context
|
||||
IssueLog::Info("Context NOT valid for: ".$this->Get('friendlyname'));
|
||||
$sClass = get_class($this);
|
||||
$sName = $this->Get('friendlyname');
|
||||
IssueLog::Debug("Context NOT valid for : {$sClass} '$sName'");
|
||||
return;
|
||||
}
|
||||
IssueLog::Info("Context VALID for: ".$this->Get('friendlyname'));
|
||||
|
||||
// Find the related actions
|
||||
$oLinkedActions = $this->Get('action_list');
|
||||
|
||||
Reference in New Issue
Block a user