From aaa2dbe757c4e8056612fac660a4fdee940a1dd2 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 15 Apr 2014 02:28:49 -0400 Subject: [PATCH] removed unused topics; fixed require --- src/socket.io/admin.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); };