12021- Disable Audit Log
Disable Audit Log
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user