mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 07:25:46 +01:00
upgrade topics:tid to sorted set, topics:recent doesnt have deleted topics
This commit is contained in:
@@ -18,7 +18,7 @@ var winston = require('winston'),
|
||||
|
||||
ThreadTools.exists = function(tid, callback) {
|
||||
|
||||
db.isSetMember('topics:tid', tid, function(err, ismember) {
|
||||
db.isSortedSetMember('topics:tid', tid, function(err, ismember) {
|
||||
|
||||
if (err) {
|
||||
callback(false);
|
||||
|
||||
Reference in New Issue
Block a user