Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
assistant: Remove outdated settings update path (#21672)
Drew Ridleye6fe12d0e1e3
diff --git a/crates/assistant/src/assistant.rs b/crates/assistant/src/assistant.rsindex 6d619a76b92..33c12088a7d 100644--- a/crates/assistant/src/assistant.rs+++ b/crates/assistant/src/assistant.rs@@ -37,7 +37,7 @@ pub use prompts::PromptBuilder;use prompts::PromptLoadingParams;use semantic_index::{CloudEmbeddingProvider, SemanticDb};use serde::{Deserialize, Serialize};-use settings::{update_settings_file, Settings, SettingsStore};+use settings::{Settings, SettingsStore};use slash_command::search_command::SearchSlashCommandFeatureFlag;use slash_command::{auto_command, cargo_workspace_command, default_command, delta_command, diagnostics_command,@@ -199,16 +199,6 @@ pub fn init(AssistantSettings::register(cx);SlashCommandSettings::register(cx);- // TODO: remove this when 0.148.0 is released.- if AssistantSettings::get_global(cx).using_outdated_settings_version {- update_settings_file::<AssistantSettings>(fs.clone(), cx, {- let fs = fs.clone();- |content, cx| {- content.update_file(fs, cx);- }- });- }-cx.spawn(|mut cx| {let client = client.clone();async move {