Browse Source

Added KPI for send mail

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@724 a333f486-631f-4898-b8df-5754b55c2be0
romainq 15 years ago
parent
commit
21567296f7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/action.class.inc.php

+ 2 - 0
core/action.class.inc.php

@@ -277,7 +277,9 @@ class ActionEmail extends ActionNotification
 				}
 				else
 				{
+					$oKPI = new ExecutionKPI();
 					$this->m_aMailErrors = array_merge($this->m_aMailErrors, $oEmail->Send());
+					$oKPI->ComputeStats('Send mail', $sTo);
 				}
 			}
 		}