api: remove unused dc_accounts_all_work_done() (#5384)

it was used by iOS to know when a background fetch was complete;
meanwhile the superiour `dc_accounts_background_fetch()` is used for
that.

there is still the corresponding context function `dc_all_work_done()`,
this not used by any UI as well, however, it is in use by a python
tests.

not sure, what to do with it, at a first glance, the test still seems
useful.
This commit is contained in:
bjoern
2024-03-30 01:18:17 +01:00
committed by GitHub
parent 304e902fce
commit 7bf9c4a2d9
5 changed files with 1 additions and 57 deletions

View File

@@ -170,7 +170,7 @@ impl ConnectivityStore {
}
/// Set all folder states to InterruptingIdle in case they were `Connected` before.
/// Called during `dc_maybe_network()` to make sure that `dc_accounts_all_work_done()`
/// Called during `dc_maybe_network()` to make sure that `dc_all_work_done()`
/// returns false immediately after `dc_maybe_network()`.
pub(crate) async fn idle_interrupted(inbox: ConnectivityStore, oboxes: Vec<ConnectivityStore>) {
let mut connectivity_lock = inbox.0.lock().await;