From c61806c1c838d3ea3d18a638eb352c14320ae9fa Mon Sep 17 00:00:00 2001 From: b1nd Date: Wed, 16 Oct 2013 11:32:44 +1100 Subject: [PATCH] Removed unused variables and updated commenting --- core/server/api.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/server/api.js b/core/server/api.js index 55de358d33..e99eb00d26 100644 --- a/core/server/api.js +++ b/core/server/api.js @@ -15,7 +15,6 @@ var Ghost = require('../ghost'), tags, notifications, settings, - themes, requestHandler, settingsObject, settingsCollection, @@ -229,6 +228,7 @@ settingsCollection = function (settings) { }); }; +// Filters an object based on a given filter object settingsFilter = function (settings, filter) { return _.object(_.filter(_.pairs(settings), function (setting) { if (filter) { @@ -365,5 +365,4 @@ module.exports.users = users; module.exports.tags = tags; module.exports.notifications = notifications; module.exports.settings = settings; -module.exports.themes = themes; module.exports.requestHandler = requestHandler;