mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 12:36:02 +01:00 
			
		
		
		
	fix: automated tests are a good thing to have
This commit is contained in:
		@@ -66,7 +66,7 @@ module.exports = function (Plugins) {
 | 
			
		||||
		}
 | 
			
		||||
		meta.reloadRequired = true;
 | 
			
		||||
		const hook = isActive ? 'deactivate' : 'activate';
 | 
			
		||||
		Plugins.hooks.fire(`action:plugin.${isActive}`, { id: id });
 | 
			
		||||
		Plugins.hooks.fire(`action:plugin.${hook}`, { id: id });
 | 
			
		||||
		return { id: id, active: !isActive };
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user