12021- Disable Audit Log

Disable Audit Log
This commit is contained in:
norahmollo
2014-10-13 12:08:57 -04:00
parent 5ee06c7ec1
commit a44360fca2

View File

@@ -15,11 +15,11 @@ switch ($_GET['action']) {
$response->enable = true; $response->enable = true;
G::auditLog("EnableAuditLog"); G::auditLog("EnableAuditLog");
} else { } else {
G::auditLog("DisableAuditLog");
$oServerConf->setAuditLogProperty( 'AL_OPTION', 0, SYS_SYS ); $oServerConf->setAuditLogProperty( 'AL_OPTION', 0, SYS_SYS );
$oServerConf->unsetAuditLogProperty( 'AL_NEXT_DATE', SYS_SYS ); $oServerConf->unsetAuditLogProperty( 'AL_NEXT_DATE', SYS_SYS );
$oServerConf->setAuditLogProperty( 'AL_TYPE', 'endaudit', SYS_SYS ); $oServerConf->setAuditLogProperty( 'AL_TYPE', 'endaudit', SYS_SYS );
$response->enable = false; $response->enable = false;
G::auditLog("DisableAuditLog");
} }
$response->success = true; $response->success = true;