HOR-2829
Logs for cases that are deleted in Production Tenant - Valeo
This commit is contained in:
@@ -1148,11 +1148,11 @@ class Cases
|
|||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
//Logger deleteCase
|
//Logger deleteCase
|
||||||
$nameFiles = '';
|
$nameFiles = '';
|
||||||
foreach(debug_backtrace() as $node) {
|
foreach (debug_backtrace() as $node) {
|
||||||
$nameFiles .= $node['file']. ":" .$node['function'] ."(" .$node['line'].")\n";
|
$nameFiles .= $node['file'] . ":" . $node['function'] . "(" . $node['line'] . ")\n";
|
||||||
}
|
}
|
||||||
$dataLog = \Bootstrap::getDefaultContextLog();
|
$dataLog = \Bootstrap::getDefaultContextLog();
|
||||||
$dataLog['usrUid'] = $_SESSION['USER_LOGGED'];
|
$dataLog['usrUid'] = isset($_SESSION['USER_LOGGED']) ? $_SESSION['USER_LOGGED'] : G::LoadTranslation('UID_UNDEFINED_USER');
|
||||||
$dataLog['appUid'] = $sAppUid;
|
$dataLog['appUid'] = $sAppUid;
|
||||||
$dataLog['request'] = $nameFiles;
|
$dataLog['request'] = $nameFiles;
|
||||||
$dataLog['action'] = 'DeleteCases';
|
$dataLog['action'] = 'DeleteCases';
|
||||||
|
|||||||
Reference in New Issue
Block a user