refs #5900 Removed code to split user changes based on date
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2023-06-25 19:01:46 +02:00
parent c15d9a4753
commit efe0966069
1 changed files with 0 additions and 5 deletions

View File

@ -114,14 +114,9 @@ export default class Controller extends Section {
// User
const day = 86400 * 1000;
const time = new Date(log.creationDate).getTime();
const prevTime = prevLog && new Date(prevLog.creationDate).getTime();
const userChanged = originChanged
|| log.userFk != prevLog.userFk
|| time < prevTime - day * 2
|| nLogs >= 6;
if (userChanged) {
originLog.logs.push(userLog = {
user: log.user,