From 7912896c9b3bf28589d3020c146ea6dc8d6b9dbc Mon Sep 17 00:00:00 2001
From: Rushmore Mushambi <rushmore@surrealdb.com>
Date: Tue, 17 Sep 2024 12:49:50 +0100
Subject: [PATCH] Drop SDK APIs already deprecated in v1 (#4791)

---
 sdk/src/api/opt/config.rs | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/sdk/src/api/opt/config.rs b/sdk/src/api/opt/config.rs
index 2e39d65c..122ad305 100644
--- a/sdk/src/api/opt/config.rs
+++ b/sdk/src/api/opt/config.rs
@@ -8,7 +8,6 @@ use surrealdb_core::{dbs::Capabilities as CoreCapabilities, iam::Level};
 #[derive(Debug, Clone, Default)]
 pub struct Config {
 	pub(crate) strict: bool,
-	pub(crate) notifications: bool,
 	pub(crate) query_timeout: Option<Duration>,
 	pub(crate) transaction_timeout: Option<Duration>,
 	#[cfg(any(feature = "native-tls", feature = "rustls"))]
@@ -45,26 +44,6 @@ impl Config {
 		self
 	}
 
-	/// Set the notifications value of the config to the supplied value
-	#[deprecated(
-		since = "1.1.0",
-		note = "Moved to `Capabilities::with_live_query_notifications()`"
-	)]
-	pub fn set_notifications(mut self, notifications: bool) -> Self {
-		self.notifications = notifications;
-		self
-	}
-
-	/// Set the config to use notifications
-	#[deprecated(
-		since = "1.1.0",
-		note = "Moved to `Capabilities::with_live_query_notifications()`"
-	)]
-	pub fn notifications(mut self) -> Self {
-		self.notifications = true;
-		self
-	}
-
 	/// Set the query timeout of the config
 	pub fn query_timeout(mut self, timeout: impl Into<Option<Duration>>) -> Self {
 		self.query_timeout = timeout.into();