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