mirror of
https://github.com/discourse/discourse.git
synced 2025-01-04 11:13:51 +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) {
|
_getFile(fileId) {
|
||||||
return this.uppy.getFile(fileId);
|
return this.uppy.getFile(fileId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user