Rename LocalFolder.delete() to deleteSettings()

This commit is contained in:
cketti 2019-01-10 00:02:17 +01:00
parent 88c12325b9
commit d27180f55c
3 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ class K9BackendStorage(
.filterNot { account.isSpecialFolder(it) }
.map { localStore.getFolder(it) }
.forEach {
it.delete()
it.deleteSettings()
it.delete(true)
}

View file

@ -629,7 +629,7 @@ public class LocalFolder extends Folder<LocalMessage> {
return getPrefId(serverId);
}
public void delete() throws MessagingException {
public void deleteSettings() throws MessagingException {
String id = getPrefId();
StorageEditor editor = localStore.getPreferences().createStorageEditor();

View file

@ -50,7 +50,7 @@ class MigrationTo43 {
}
// Now get rid of the localized outbox
obsoleteOutbox.delete();
obsoleteOutbox.deleteSettings();
obsoleteOutbox.delete(true);
}
} catch (Exception e) {