renamed to filter:userlist.get

v1.18.x
psychobunny 10 years ago
parent 943e268ffc
commit 0828caab32

@ -44,7 +44,7 @@ usersController.getOnlineUsers = function(req, res, next) {
show_anon: anonymousUserCount ? '' : 'hide'
};
plugins.fireHook('filter:users.get', {data: userData, uid: uid}, function(err, userData) {
plugins.fireHook('filter:userlist.get', {data: userData, uid: uid}, function(err, userData) {
res.render('users', userData);
});
});
@ -76,7 +76,7 @@ usersController.getUsers = function(set, count, req, res, next) {
show_anon: 'hide'
};
plugins.fireHook('filter:users.get', {data: userData, uid: uid}, function(err, userData) {
plugins.fireHook('filter:userlist.get', {data: userData, uid: uid}, function(err, userData) {
res.render('users', userData);
});
});
@ -118,7 +118,7 @@ usersController.getUsersForSearch = function(req, res, next) {
show_anon: 'hide'
};
plugins.fireHook('filter:users.get', {data: userData, uid: uid}, function(err, userData) {
plugins.fireHook('filter:userlist.get', {data: userData, uid: uid}, function(err, userData) {
res.render('users', userData);
});
});

Loading…
Cancel
Save