pub async fn set_enabled(db: &Db, plugin_id: &str, enabled: bool) -> Result<()>Expand description
Sets a plugin’s operator enable/disable state (upsert). Takes effect on the next boot: a disabled plugin is skipped, an enabled one migrates and registers.