mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 01:26:16 +01:00
closes #6851
This commit is contained in:
@@ -208,12 +208,6 @@ helpers.getUserDataByUserSlug = function (userslug, callerUID, callback) {
|
||||
], callback);
|
||||
};
|
||||
|
||||
|
||||
helpers.getBaseUser = function (userslug, callerUID, callback) {
|
||||
winston.warn('helpers.getBaseUser deprecated please use helpers.getUserDataByUserSlug');
|
||||
helpers.getUserDataByUserSlug(userslug, callerUID, callback);
|
||||
};
|
||||
|
||||
function filterLinks(links, states) {
|
||||
return links.filter(function (link, index) {
|
||||
// "public" is the old property, if visibility is defined, discard `public`
|
||||
|
||||
Reference in New Issue
Block a user