mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
cleanup
This commit is contained in:
@@ -89,9 +89,7 @@ SocketAdmin.themes.set = function(socket, data, callback) {
|
||||
}
|
||||
|
||||
var wrappedCallback = function(err) {
|
||||
meta.themes.set(data, function() {
|
||||
callback();
|
||||
});
|
||||
meta.themes.set(data, callback);
|
||||
};
|
||||
if (data.type === 'bootswatch') {
|
||||
wrappedCallback();
|
||||
|
||||
Reference in New Issue
Block a user