mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
refactor: remove commented out code
This commit is contained in:
@@ -30,9 +30,6 @@ module.exports = function (User) {
|
||||
return userSettings;
|
||||
});
|
||||
return await Promise.all(settings.map(s => onSettingsLoaded(s.uid, s)));
|
||||
// async.map(settings, function (userSettings, next) {
|
||||
// onSettingsLoaded(userSettings.uid, userSettings, next);
|
||||
// }, next);
|
||||
};
|
||||
|
||||
async function onSettingsLoaded(uid, settings) {
|
||||
|
||||
Reference in New Issue
Block a user