mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	closes #3879
This commit is contained in:
		| @@ -24,7 +24,10 @@ module.exports = function(Posts) { | ||||
| 			if (err) { | ||||
| 				return callback(err); | ||||
| 			} | ||||
|  | ||||
| 			if (global.env === 'production') { | ||||
| 				cache.set(data.postData.pid, data.postData.content); | ||||
| 			} | ||||
|  | ||||
| 			callback(null, data.postData); | ||||
| 		}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user