mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-10-26 11:27:04 +00:00
Fix for deprecated CIRA function (part 2)
This commit is contained in:
parent
e6567a9dc8
commit
50b62c7c8a
@ -1385,7 +1385,7 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
|
||||
case 'pong': { break; }
|
||||
case 'getScript':
|
||||
{
|
||||
if (typeof parent.getCiraConfigurationScript !== 'function') {
|
||||
if (typeof parent.getCiraConfigurationScript !== 'function' || typeof parent.getCiraCleanupScript !== 'function') {
|
||||
obj.send('Function deprecated.');
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user