mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	removed global.socket, passing in socket to the functions now
This commit is contained in:
		| @@ -60,7 +60,7 @@ var	RDB = require('./redis.js'), | ||||
| 	} | ||||
|  | ||||
|  | ||||
| 	Posts.reply = function(tid, uid, content) { | ||||
| 	Posts.reply = function(socket, tid, uid, content) { | ||||
| 		Posts.create(uid, content, function(pid) { | ||||
| 			RDB.rpush('tid:' + tid + ':posts', pid); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user