Node.js based forum software built for the modern web
Merge branch 'master' into user_groups
Julian Lam5e869a5e5cfd
diff --cc src/webserver.jsindex b0623d8ef8,d802929f53..986605e882--- a/src/webserver.js+++ b/src/webserver.js@@@ -403,12 -408,19 +408,18 @@@ var express = require('express')app.get('/reindex', function(req, res) {topics.reIndexAll(function(err) {if(err) {- res.json(err);- } else {- res.send('All topics reindexed');+ return res.json(err);}++ user.reIndexAll(function(err) {+ if(err) {+ return res.json(err);+ } else {+ res.send('Topics and users reindexed');+ }+ });});});-});}(WebServer));