fix persona config load

main
Barış Soner Uşaklı 6 years ago
parent bb17102ffa
commit 1a3b8e8a57

@ -88,14 +88,12 @@ library.defineWidgetAreas = function(areas, callback) {
};
library.getThemeConfig = function(config, callback) {
meta.settings.get('persona', function(err, settings) {
config.hideSubCategories = settings.hideSubCategories === 'on';
config.hideCategoryLastPost = settings.hideCategoryLastPost === 'on';
config.enableQuickReply = settings.enableQuickReply === 'on';
callback(null, config);
});
callback(false, config);
};
function renderAdmin(req, res, next) {

Loading…
Cancel
Save