rename sql.get_config() to sql.get_raw_config() to make clearer that there is not default handling

This commit is contained in:
B. Petersen
2019-10-03 17:35:43 +02:00
parent 23d2d87c24
commit dca9afa10b
11 changed files with 46 additions and 46 deletions

View File

@@ -38,7 +38,7 @@ pub unsafe fn configure(context: &Context) {
/// Check if the context is already configured.
pub fn dc_is_configured(context: &Context) -> bool {
context.sql.get_config_bool(context, "configured")
context.sql.get_raw_config_bool(context, "configured")
}
/*******************************************************************************
@@ -604,7 +604,7 @@ pub fn dc_connect_to_configured_imap(context: &Context, imap: &Imap) -> libc::c_
ret_connected = 1
} else if context
.sql
.get_config_int(context, "configured")
.get_raw_config_int(context, "configured")
.unwrap_or_default()
== 0
{