Skip to content

Node.js based forum software built for the modern web

refactor: remove commented out code

Barış Soner Uşaklıec98945a5fbe
diff --git a/src/user/settings.js b/src/user/settings.js
index 1b000f79dc..d75e14c265 100644
--- a/src/user/settings.js
+++ b/src/user/settings.js
@@ -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) {