Adding a couple of missing labels for audit log

This commit is contained in:
Julio Cesar Laura
2015-02-21 12:17:32 -04:00
parent 27f4cbd7de
commit 7f93f9036e
7 changed files with 25 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ $proUid = $eventFields['PRO_UID'];
$infoProcess = new Process();
$resultProcess = $infoProcess->load($proUid);
G::auditLog('Events','Delete event ('.$_POST['EVN_UID'].') in process "'.$resultProcess['PRO_TITLE'].'"');
G::auditLog('DeleteEvent','Delete event ('.$_POST['EVN_UID'].') in process "'.$resultProcess['PRO_TITLE'].'"');
$evnUid = $_POST['EVN_UID'];
require_once 'classes/model/Event.php';

View File

@@ -62,7 +62,7 @@ if ($_POST['form']['EVN_UID'] == '') {
$infoProcess = new Process();
$resultProcess = $infoProcess->load($_POST['form']['PRO_UID']);
G::auditLog('Events','Save intermediate message ('.$_POST['form']['EVN_UID'].') in process "'.$resultProcess['PRO_TITLE'].'"');
G::auditLog('EditEvent','Save intermediate message ('.$_POST['form']['EVN_UID'].') in process "'.$resultProcess['PRO_TITLE'].'"');
function replaceQuotes ($aData)
{

View File

@@ -42,5 +42,5 @@ $proUid = $triggerFields['PRO_UID'];
$infoProcess = new Process();
$resultProcess = $infoProcess->load($proUid);
G::auditLog('Events','Save event ('.$_POST['form']['TRI_UID'].') in process "'.$resultProcess['PRO_TITLE'].'"');
G::auditLog('EditEvent','Save trigger from event ('.$_POST['form']['TRI_UID'].') in process "'.$resultProcess['PRO_TITLE'].'"');