mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-05 03:09:09 +02:00
removed console.logs
This commit is contained in:
@@ -76,10 +76,8 @@ var path = require('path'),
|
||||
},
|
||||
render: function(callback) {
|
||||
if (sitemap.obj !== undefined && sitemap.obj.cache.length) {
|
||||
console.log('using sitemap from cache!');
|
||||
sitemap.obj.toXML(callback);
|
||||
} else {
|
||||
console.log('generating new sitemap!', sitemap.obj);
|
||||
async.parallel([sitemap.getStaticUrls, sitemap.getDynamicUrls], function(err, urls) {
|
||||
urls = urls[0].concat(urls[1]);
|
||||
sitemap.obj = sm.createSitemap({
|
||||
|
||||
Reference in New Issue
Block a user