fixed #1351 -- themes and plugins no longer auto-restart the server

This commit is contained in:
Julian Lam
2014-04-16 14:45:47 -04:00
parent 9dbe479d11
commit 8cb2b9b97a
3 changed files with 17 additions and 10 deletions

View File

@@ -79,7 +79,6 @@ SocketAdmin.themes.set = function(socket, data, callback) {
widgets.reset(function(err) {
meta.themes.set(data, function() {
callback();
meta.restart();
});
});
};
@@ -87,7 +86,6 @@ SocketAdmin.themes.set = function(socket, data, callback) {
SocketAdmin.plugins.toggle = function(socket, plugin_id) {
plugins.toggleActive(plugin_id, function(status) {
socket.emit('admin.plugins.toggle', status);
meta.restart();
});
};