mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
closes #2677
This commit is contained in:
@@ -175,6 +175,11 @@ SocketAdmin.settings.set = function(socket, data, callback) {
|
||||
meta.settings.set(data.hash, data.values, callback);
|
||||
};
|
||||
|
||||
SocketAdmin.settings.clearSitemapCache = function(socket, data, callback) {
|
||||
require('../sitemap').clearCache();
|
||||
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