DEV: Remove `_consoleDebug` (#30399)

`this.siteSettings` was always undefined anyway
This commit is contained in:
Jarek Radosz 2024-12-20 16:48:02 +01:00 committed by GitHub
parent 6e82a63d56
commit 05dca4c31e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 7 deletions

View File

@ -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);
}