|
|
@ -45,10 +45,10 @@ module.exports = function (User) {
|
|
|
|
var uids;
|
|
|
|
var uids;
|
|
|
|
async.waterfall([
|
|
|
|
async.waterfall([
|
|
|
|
function (next) {
|
|
|
|
function (next) {
|
|
|
|
db.getSortedSetRangeWithScores('username:uid', 0, -1, next);
|
|
|
|
db.getSortedSetRange('users:joindate', 0, -1, next);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
function (users, next) {
|
|
|
|
function (_uids, next) {
|
|
|
|
uids = users.map(user => user.score);
|
|
|
|
uids = _uids;
|
|
|
|
plugins.fireHook('filter:user.csvFields', { fields: ['uid', 'email', 'username'] }, next);
|
|
|
|
plugins.fireHook('filter:user.csvFields', { fields: ['uid', 'email', 'username'] }, next);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
function (data, next) {
|
|
|
|
function (data, next) {
|
|
|
|