From 6bd874034222e7fa85bab660dac83e36af522257 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 15 Dec 2017 13:31:14 -0500 Subject: [PATCH] removing hasImageUploadPlugin from config api --- src/controllers/api.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/controllers/api.js b/src/controllers/api.js index 8034f958f6..4f9430826a 100644 --- a/src/controllers/api.js +++ b/src/controllers/api.js @@ -30,7 +30,6 @@ apiController.loadConfig = function (req, callback) { config.maximumTagsPerTopic = parseInt(meta.config.maximumTagsPerTopic || 5, 10); config.minimumTagLength = meta.config.minimumTagLength || 3; config.maximumTagLength = meta.config.maximumTagLength || 15; - config.hasImageUploadPlugin = plugins.hasListeners('filter:uploadImage'); config.useOutgoingLinksPage = parseInt(meta.config.useOutgoingLinksPage, 10) === 1; config.allowGuestSearching = parseInt(meta.config.allowGuestSearching, 10) === 1; config.allowGuestUserSearching = parseInt(meta.config.allowGuestUserSearching, 10) === 1;