Skip to content

Node.js based forum software built for the modern web

removed unused topics; fixed require

psychobunnyaaa2dbe757c4
diff --git a/src/socket.io/admin.js b/src/socket.io/admin.js
index 6f0334b71d..70dfcffdb4 100644
--- a/src/socket.io/admin.js
+++ b/src/socket.io/admin.js
@@ -16,9 +16,8 @@ var groups = require('../groups'),
index = require('./index'),
SocketAdmin = {
- topics: {},
user: require('admin/user'),
- categories: {},
+ categories: require('admin/categories'),
themes: {},
plugins: {},
widgets: {},
@@ -69,7 +68,6 @@ SocketAdmin.fireEvent = function(socket, data, callback) {
};
-/* Themes, Widgets, and Plugins */
SocketAdmin.themes.getInstalled = function(socket, data, callback) {
meta.themes.get(callback);
};