removed unused topics; fixed require

v1.18.x
psychobunny 11 years ago
parent 9e24ccc976
commit aaa2dbe757

@ -16,9 +16,8 @@ var groups = require('../groups'),
index = require('./index'), index = require('./index'),
SocketAdmin = { SocketAdmin = {
topics: {},
user: require('admin/user'), user: require('admin/user'),
categories: {}, categories: require('admin/categories'),
themes: {}, themes: {},
plugins: {}, plugins: {},
widgets: {}, widgets: {},
@ -69,7 +68,6 @@ SocketAdmin.fireEvent = function(socket, data, callback) {
}; };
/* Themes, Widgets, and Plugins */
SocketAdmin.themes.getInstalled = function(socket, data, callback) { SocketAdmin.themes.getInstalled = function(socket, data, callback) {
meta.themes.get(callback); meta.themes.get(callback);
}; };

Loading…
Cancel
Save