mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
allowing topic, post, and user creation to specify a timestamp for insertion into the past
This commit is contained in:
@@ -12,6 +12,7 @@ var async = require('async'),
|
||||
|
||||
module.exports = function(Posts) {
|
||||
Posts.create = function(data, callback) {
|
||||
// This is an internal method, consider using Topics.reply instead
|
||||
var uid = data.uid,
|
||||
tid = data.tid,
|
||||
content = data.content.toString(),
|
||||
|
||||
Reference in New Issue
Block a user