mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 16:35:47 +01:00
Merge branch 'master' of github.com:designcreateplay/NodeBB
This commit is contained in:
@@ -176,6 +176,7 @@ var async = require('async'),
|
|||||||
},
|
},
|
||||||
function(postData, next) {
|
function(postData, next) {
|
||||||
postData.favourited = false;
|
postData.favourited = false;
|
||||||
|
postData.votes = 0;
|
||||||
postData.display_moderator_tools = true;
|
postData.display_moderator_tools = true;
|
||||||
postData.display_move_tools = privileges.admin || privileges.moderator;
|
postData.display_move_tools = privileges.admin || privileges.moderator;
|
||||||
postData.relativeTime = utils.toISOString(postData.timestamp);
|
postData.relativeTime = utils.toISOString(postData.timestamp);
|
||||||
|
|||||||
Reference in New Issue
Block a user