mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +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