1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

More auto device removal fixes. #3089

This commit is contained in:
Ylian Saint-Hilaire 2021-09-01 22:30:43 -07:00
parent 7d25391f78
commit b2905bfe29
2 changed files with 54 additions and 53 deletions

View file

@ -6255,7 +6255,6 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
cmdData.result = 'Usage: removeinactivedevices [showremoved|showall]';
} else {
parent.db.removeInactiveDevices((arg == 'showall'), function (msg) { try { ws.send(JSON.stringify({ action: 'serverconsole', value: msg, tag: cmdData.command.tag })); } catch (ex) { } });
cmdData.result = 'Ok';
}
}