removed extra event in websocket.js

v1.18.x
Baris Soner Usakli 11 years ago
parent 1996e64c9b
commit d0e4689907

@ -565,7 +565,6 @@ websockets.init = function(io) {
threadTools.delete(data.tid, uid, function(err) { threadTools.delete(data.tid, uid, function(err) {
if (!err) { if (!err) {
emitTopicPostStats(); emitTopicPostStats();
events.logTopicDelete(uid, data.tid);
socket.emit('api:topic.delete', { socket.emit('api:topic.delete', {
status: 'ok', status: 'ok',
tid: data.tid tid: data.tid

Loading…
Cancel
Save