setting Lavender as default theme for 0.4.0, woo!

v1.18.x
Julian Lam 11 years ago
parent e51016ee66
commit c9642cecd2

@ -253,12 +253,6 @@ var async = require('async'),
}, {
field: 'chatMessagesToDisplay',
value: 50
}, {
field: 'theme:type',
value: 'local'
}, {
field: 'theme:id',
value: 'nodebb-theme-cerulean'
}];
async.each(defaults, function (configObj, next) {
@ -282,6 +276,15 @@ var async = require('async'),
}
}
},
function(next) {
var meta = require('./meta');
winston.info('Enabling default theme: Lavender');
meta.themes.set({
type: 'local',
id: 'nodebb-theme-lavender'
}, next);
},
function (next) {
// Check if an administrator needs to be created
var Groups = require('./groups');

Loading…
Cancel
Save