Revert "api: add clear_all_relay_storage API"

This reverts commit 10ab556d65.
This commit is contained in:
B. Petersen
2026-04-25 00:47:08 +02:00
committed by biörn
parent 7de58f5329
commit ba8c39ff5b
4 changed files with 4 additions and 108 deletions

View File

@@ -568,15 +568,6 @@ impl Context {
}
}
/// Requests deletion of all messages from chatmail relays.
///
/// Non-chatmail relays are excluded
/// to avoid accidentally deleting emails
/// from shared inboxes.
pub async fn clear_all_relay_storage(&self) -> Result<()> {
self.scheduler.clear_all_relay_storage().await
}
/// Restarts the IO scheduler if it was running before
/// when it is not running this is an no-op
pub async fn restart_io_if_running(&self) {