Private
Public Access
1
0

dbus: remove duplicate property for credential item

This commit is contained in:
2025-04-30 14:51:49 -07:00
parent 7200ae54e4
commit 59cfc8008b
2 changed files with 0 additions and 14 deletions

View File

@@ -112,16 +112,6 @@ impl DbusSettings for ServerImpl {
)
}
fn set_credential_item_(&mut self, item_path: dbus::Path<'static>) -> Result<(), dbus::MethodErr> {
self.send_event_sync(|r|
Event::UpdateSettings(Settings {
server_url: None,
username: None,
credential_item: Some(item_path.to_string()),
}, r)
)
}
fn server_url(&self) -> Result<String, dbus::MethodErr> {
self.send_event_sync(Event::GetAllSettings)
.map(|settings| settings.server_url.unwrap_or_default())