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;