|
|
@ -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);
|
|
|
|
};
|
|
|
|
};
|
|
|
|