Skip to content

Node.js based forum software built for the modern web

add back missing onSettingsLoaded

Barış Soner Uşaklı6c755869cda9
diff --git a/src/user/settings.js b/src/user/settings.js
index 6efbac67f3..f713b113d8 100644
--- a/src/user/settings.js
+++ b/src/user/settings.js
@@ -44,8 +44,9 @@ module.exports = function (User) {
userSettings.uid = uids[index];
return userSettings;
});
-
- next(null, settings);
+ async.map(settings, function (userSettings, next) {
+ onSettingsLoaded(userSettings.uid, userSettings, next);
+ }, next);
},
], callback);
};