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

Commit 067d8b75 authored by Nihar Thakkar's avatar Nihar Thakkar Committed by Sumit Pundir
Browse files

Removed error folder.

parent 66f9e931
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -1160,8 +1160,7 @@ public class Account implements BaseAccount, StoreConfig {
                folderName.equals(getArchiveFolderName()) ||
                folderName.equals(getSpamFolderName()) ||
                folderName.equals(getOutboxFolderName()) ||
                folderName.equals(getSentFolderName());
		folderName.equals(getErrorFolderName())));
                folderName.equals(getSentFolderName())));
    }

    public synchronized String getDraftsFolderName() {
@@ -1172,10 +1171,6 @@ public class Account implements BaseAccount, StoreConfig {
        draftsFolderName = name;
    }

     public synchronized String getErrorFolderName() {
        return K9.ERROR_FOLDER_NAME;
    }

    /**
     * Checks if this account has a drafts folder set.
     * @return true if account has a drafts folder set.
@@ -1897,8 +1892,6 @@ public class Account implements BaseAccount, StoreConfig {
        excludeSpecialFolder(search, getSpamFolderName());
        excludeSpecialFolder(search, getOutboxFolderName());
        excludeSpecialFolder(search, getSentFolderName());
	excludeSpecialFolder(search, getErrorFolderName());

        search.or(new SearchCondition(SearchField.FOLDER, Attribute.EQUALS, getInboxFolderName()));
    }

+0 −8
Original line number Diff line number Diff line
@@ -154,14 +154,6 @@ public class K9 extends Application {
     */
    public static boolean DEBUG_SENSITIVE = false;

    /**
     * Can create messages containing stack traces that can be forwarded
     * to the development team.
     *
     * Feature is enabled when DEBUG == true
     */
    public static final String ERROR_FOLDER_NAME = "eelo Mail-errors";

    /**
     * A reference to the {@link SharedPreferences} used for caching the last known database
     * version.