fix: [log] Do not log unnecessary data to AuditLog

pull/6914/head
Jakub Onderka 2021-02-04 17:34:53 +01:00
parent aa988e5f27
commit 2369cf23cb
3 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,6 @@ class AuditLogsController extends AppController
'DecayingModel',
'Object',
'ObjectTemplate',
'ObjectTemplateElement',
'Organisation',
'OrgBlocklist',
'Post',

View File

@ -26,6 +26,7 @@ class AuditLogBehavior extends ModelBehavior
'last_login' => true, // User
'newsread' => true, // User
'proposal_email_lock' => true, // Event
'warninglist_entry_count' => true, // Warninglist
];
private $modelInfo = [

View File

@ -5,7 +5,6 @@ App::uses('AppModel', 'Model');
class ObjectTemplateElement extends AppModel
{
public $actsAs = array(
'AuditLog',
'Containable'
);