MDL-82360 courseformat: remove console upload error string debugging.

This commit is contained in:
Paul Holden 2024-07-02 15:52:56 +01:00
parent 5aef789ac6
commit 314fcb3cf8
No known key found for this signature in database
GPG Key ID: A81A96D6045F6164
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -492,7 +492,7 @@ async function loadErrorStrings(courseId) {
{key: 'dndupload', component: 'core_error'}, {key: 'dndupload', component: 'core_error'},
{key: 'dndunkownfile', component: 'core_error'}, {key: 'dndunkownfile', component: 'core_error'},
]; ];
window.console.log(allStrings);
const loadedStrings = await getStrings(allStrings); const loadedStrings = await getStrings(allStrings);
allStrings.forEach(({key}, index) => { allStrings.forEach(({key}, index) => {
errors[key] = loadedStrings[index]; errors[key] = loadedStrings[index];