mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 15:06:30 +03:00
rename sql.get_config() to sql.get_raw_config() to make clearer that there is not default handling
This commit is contained in:
@@ -125,7 +125,7 @@ fn poke_spec(context: &Context, spec: *const libc::c_char) -> libc::c_int {
|
||||
.set_config(context, "import_spec", Some(&real_spec))
|
||||
.unwrap();
|
||||
} else {
|
||||
let rs = context.sql.get_config(context, "import_spec");
|
||||
let rs = context.sql.get_raw_config(context, "import_spec");
|
||||
if rs.is_none() {
|
||||
error!(context, "Import: No file or folder given.");
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user