mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
fixes #3307
This commit is contained in:
@@ -96,8 +96,11 @@ module.exports = function(Plugins) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
Plugins.fireHook('action:plugin.' + type, id);
|
||||
callback(null, {id: id, installed: !installed});
|
||||
|
||||
Plugins.get(id, function(err, pluginData) {
|
||||
Plugins.fireHook('action:plugin.' + type, id);
|
||||
callback(null, pluginData);
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user