Remove old translations and code not in use anymore.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2025-11-05 19:03:21 +02:00
parent 71b7dcffb5
commit ba49d4d140
3 changed files with 2 additions and 73 deletions

View file

@ -84,10 +84,6 @@ BlazeComponent.extendComponent({
return this.migrationStatuses.get().fixMissingLists === true;
},
deleteEmptyListsNeeded() {
return this.migrationStatuses.get().deleteEmptyLists === true;
},
deleteDuplicateEmptyListsNeeded() {
return this.migrationStatuses.get().deleteDuplicateEmptyLists === true;
},
@ -177,11 +173,6 @@ BlazeComponent.extendComponent({
methodArgs = [boardId];
break;
case 'deleteEmptyLists':
methodName = 'deleteEmptyLists.execute';
methodArgs = [boardId];
break;
case 'deleteDuplicateEmptyLists':
methodName = 'deleteDuplicateEmptyLists.execute';
methodArgs = [boardId];
@ -224,10 +215,6 @@ BlazeComponent.extendComponent({
{ step: 'update_cards', name: 'Update Cards', duration: 900 },
{ step: 'finalize', name: 'Finalize', duration: 400 },
],
deleteEmptyLists: [
{ step: 'convert_shared_lists', name: 'Convert Shared Lists', duration: 700 },
{ step: 'delete_empty_lists', name: 'Delete Empty Lists', duration: 800 },
],
deleteDuplicateEmptyLists: [
{ step: 'convert_shared_lists', name: 'Convert Shared Lists', duration: 700 },
{ step: 'delete_duplicate_empty_lists', name: 'Delete Duplicate Empty Lists', duration: 800 },
@ -326,10 +313,6 @@ BlazeComponent.extendComponent({
self.runMigration('fixMissingLists');
Popup.back();
}),
'click .js-run-migration[data-migration="deleteEmptyLists"]': Popup.afterConfirm('runDeleteEmptyListsMigration', function() {
self.runMigration('deleteEmptyLists');
Popup.back();
}),
'click .js-run-migration[data-migration="deleteDuplicateEmptyLists"]': Popup.afterConfirm('runDeleteDuplicateEmptyListsMigration', function() {
self.runMigration('deleteDuplicateEmptyLists');
Popup.back();