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

Plugin admin partial

This commit is contained in:
Ryan Blenis 2019-11-02 06:27:39 -04:00
parent 72b5939a44
commit 67b6df9454
5 changed files with 126 additions and 13 deletions

View file

@ -3147,6 +3147,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
parent.parent.pluginHandler.disablePlugin(command.id, function(){
parent.db.getPlugins(function(err, docs) {
try { ws.send(JSON.stringify({ action: 'updatePluginList', list: docs, result: err })); } catch (ex) { }
// @TODO delete plugin object from handler
});
});
break;