mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
set post rep to 0 when created
This commit is contained in:
@@ -196,6 +196,7 @@ var RDB = require('./redis.js'),
|
||||
RDB.set('pid:' + pid + ':content', content);
|
||||
RDB.set('pid:' + pid + ':uid', uid);
|
||||
RDB.set('pid:' + pid + ':timestamp', new Date().getTime());
|
||||
RDB.set('pid:' + pid + ':rep', 0);
|
||||
|
||||
RDB.incr('tid:' + tid + ':postcount');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user