Skip to content

Node.js based forum software built for the modern web

removed extra db call #2254

barisusaklifb3251c2699a
diff --git a/src/sitemap.js b/src/sitemap.js
index 6d65719696..e621fdc713 100644
--- a/src/sitemap.js
+++ b/src/sitemap.js
@@ -55,7 +55,6 @@ var path = require('path'),
var topicUrls = [];
async.waterfall([
- async.apply(db.getSortedSetRevRange, 'topics:recent', 0, -1),
function(tids, next) {
db.getSortedSetRevRange('topics:recent', 0, -1, next);
},