mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
Remove allowFileUploads ACP option (#8324)
* feat: allow awaitable upgrade scripts * feat: allowFileUploads removal upgrade script * refactor: remove unnecessary ACP option `allowFileUploads` * fix: updated upgrade script template to not use callback arg * fix: upgrade script as per @baris * fix: add missing await * fix: add missing await
This commit is contained in:
@@ -34,7 +34,6 @@ apiController.loadConfig = async function (req) {
|
||||
useOutgoingLinksPage: meta.config.useOutgoingLinksPage === 1,
|
||||
outgoingLinksWhitelist: meta.config.useOutgoingLinksPage === 1 ? meta.config['outgoingLinks:whitelist'] : undefined,
|
||||
allowGuestHandles: meta.config.allowGuestHandles === 1,
|
||||
allowFileUploads: meta.config.allowFileUploads === 1,
|
||||
allowTopicsThumbnail: meta.config.allowTopicsThumbnail === 1,
|
||||
usePagination: meta.config.usePagination === 1,
|
||||
disableChat: meta.config.disableChat === 1,
|
||||
|
||||
Reference in New Issue
Block a user