mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Remove old translations and code not in use anymore.
Thanks to xet7 !
This commit is contained in:
parent
71b7dcffb5
commit
ba49d4d140
3 changed files with 2 additions and 73 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue