[fix/acp-logs] Do not create duplicate acp logs and fix custom module logs
This commit is contained in:
@@ -263,9 +263,13 @@ class acp_portal
|
||||
|
||||
$this->cache->destroy('portal_modules');
|
||||
$this->cache->destroy('sql', CONFIG_TABLE);
|
||||
|
||||
if(isset($module_name))
|
||||
{
|
||||
add_log('admin', 'LOG_PORTAL_CONFIG', $module_name);
|
||||
if ($module_data['module_classname'] !== 'custom')
|
||||
{
|
||||
add_log('admin', 'LOG_PORTAL_CONFIG', $module_name);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user