浏览代码

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 年之前
父节点
当前提交
21567296f7
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);
 				}
 			}
 		}