set post rep to 0 when created

v1.18.x
Baris Soner Usakli 12 years ago
parent 91c2271ffd
commit 9a3c907056

@ -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');

Loading…
Cancel
Save