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…
Reference in New Issue