Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d27180f5 authored by cketti's avatar cketti
Browse files

Rename LocalFolder.delete() to deleteSettings()

parent 88c12325
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ class K9BackendStorage(
                .filterNot { account.isSpecialFolder(it) }
                .map { localStore.getFolder(it) }
                .forEach {
                    it.delete()
                    it.deleteSettings()
                    it.delete(true)
                }

+1 −1
Original line number Diff line number Diff line
@@ -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();
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ class MigrationTo43 {
                }

                // Now get rid of the localized outbox
                obsoleteOutbox.delete();
                obsoleteOutbox.deleteSettings();
                obsoleteOutbox.delete(true);
            }
        } catch (Exception e) {