@ -6,9 +6,7 @@ define('admin/settings/general', ['admin/settings'], function(Settings) {
Module.init = function() {
$('button[data-action="removeLogo"]').on('click', function() {
socket.emit('admin.settings.removeLogo', function() {
app.alertSuccess('Logo removed');
});
$('input[data-field="brand:logo"]').val('');
};
@ -201,10 +201,6 @@ 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, {