]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database.cc
lib: Rework interface for maildir_flags synchronization
[notmuch] / lib / database.cc
index 293d21aa01ff70c03ecdcbe3221c92dca21247f5..380bbe3daa66e9a878c084b6f1e7fc2b1ace1470 100644 (file)
@@ -688,8 +688,6 @@ notmuch_database_open (const char *path,
        notmuch = NULL;
     }
 
        notmuch = NULL;
     }
 
-    notmuch_database_set_maildir_sync (notmuch, FALSE);
-
   DONE:
     if (notmuch_path)
        free (notmuch_path);
   DONE:
     if (notmuch_path)
        free (notmuch_path);
@@ -719,13 +717,6 @@ notmuch_database_close (notmuch_database_t *notmuch)
     talloc_free (notmuch);
 }
 
     talloc_free (notmuch);
 }
 
-void
-notmuch_database_set_maildir_sync (notmuch_database_t *database,
-                                  notmuch_bool_t maildir_sync)
-{
-    database->maildir_sync = maildir_sync;
-}
-
 const char *
 notmuch_database_get_path (notmuch_database_t *notmuch)
 {
 const char *
 notmuch_database_get_path (notmuch_database_t *notmuch)
 {