rename sql-config-setters to set_raw_config*()

the rename is reasonable as the getter is called get_raw_config*()
and to make the functional difference to context.set|get_config() clearer.
This commit is contained in:
B. Petersen
2019-10-03 21:57:40 +02:00
committed by Floris Bruynooghe
parent 79b92727cc
commit 93f0f5ccae
8 changed files with 67 additions and 67 deletions

View File

@@ -114,7 +114,7 @@ pub unsafe fn dc_job_do_DC_JOB_CONFIGURE_IMAP(context: &Context) {
param.addr = oauth2_addr;
context
.sql
.set_config(context, "addr", Some(param.addr.as_str()))
.set_raw_config(context, "addr", Some(param.addr.as_str()))
.ok();
}
progress!(context, 20);
@@ -501,7 +501,7 @@ pub unsafe fn dc_job_do_DC_JOB_CONFIGURE_IMAP(context: &Context) {
)
.ok();
context.sql.set_config_bool(context, "configured", true);
context.sql.set_raw_config_bool(context, "configured", true);
true
}
18 => {