mirror of
https://github.com/discourse/discourse.git
synced 2025-03-11 04:15:20 +08:00
DEV: Remove _consoleDebug
(#30399)
`this.siteSettings` was always undefined anyway
This commit is contained in:
parent
6e82a63d56
commit
05dca4c31e
@ -15,13 +15,6 @@ export class UppyPluginBase extends BasePlugin {
|
||||
}
|
||||
}
|
||||
|
||||
_consoleDebug(msg) {
|
||||
if (this.siteSettings?.enable_upload_debug_mode) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`[${this.id}] ${msg}`);
|
||||
}
|
||||
}
|
||||
|
||||
_getFile(fileId) {
|
||||
return this.uppy.getFile(fileId);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user