mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
oops
This commit is contained in:
@@ -87,7 +87,7 @@ marked.setOptions({
|
|||||||
|
|
||||||
posts.getPostFields(pid, ['tid', 'uid'], function(postData) {
|
posts.getPostFields(pid, ['tid', 'uid'], function(postData) {
|
||||||
|
|
||||||
user.decrementUserFieldBypostData.uid, 'postcount', 1);
|
user.decrementUserFieldBy(postData.uid, 'postcount', 1);
|
||||||
|
|
||||||
io.sockets.in('topic_' + postData.tid).emit('event:post_deleted', {
|
io.sockets.in('topic_' + postData.tid).emit('event:post_deleted', {
|
||||||
pid: pid
|
pid: pid
|
||||||
|
|||||||
Reference in New Issue
Block a user