mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
Close #3540
This commit is contained in:
@@ -207,6 +207,10 @@ SocketAdmin.settings.clearSitemapCache = function(socket, data, callback) {
|
||||
callback();
|
||||
};
|
||||
|
||||
SocketAdmin.settings.removeLogo = function(socket, data, callback) {
|
||||
db.setObjectField('config', 'brand:logo', '', callback);
|
||||
};
|
||||
|
||||
SocketAdmin.email.test = function(socket, data, callback) {
|
||||
if (plugins.hasListeners('action:email.send')) {
|
||||
emailer.send('test', socket.uid, {
|
||||
|
||||
Reference in New Issue
Block a user