- has_theme_css, theme_name, theme_description, has_feedback_email,
- feedback_email, mailing_list, search_box, navigation, view_anon,
- has_brand, brand, brand_tagline, brand_description =
- match sth#fetch1 () with
- [ Some canonical_hostname; `Bool has_global_css;
- `Bool edit_anon; `Bool create_account_anon; `Bool has_theme_css;
- (Some _ | None) as theme_name;
- (Some _ | None) as theme_description;
- (Some _ | None) as feedback_email;
- `Bool mailing_list; `Bool search_box; `Bool navigation;
- `Bool view_anon;
- (Some _ | None) as brand; Some brand_tagline;
- Some brand_description ] ->
- let theme_name =
- match theme_name with Some s -> s | None -> "" in
- let theme_description =
- match theme_description with Some s -> s | None -> "" in
- let feedback_email, has_feedback_email =
- match feedback_email with
- Some s -> s, true
- | None -> "", false in
- let brand, has_brand =
- match brand with
- Some s -> s, true
- | None -> "", false in
- canonical_hostname, has_global_css, edit_anon, create_account_anon,
- has_theme_css, theme_name, theme_description, has_feedback_email,
- feedback_email, mailing_list, search_box, navigation, view_anon,
- has_brand, brand, brand_tagline, brand_description
- | _ -> assert false in
+ has_theme_css, theme_name, theme_description, has_feedback_email,
+ feedback_email, mailing_list, search_box, navigation, view_anon,
+ has_brand, brand, brand_tagline, brand_description =
+ match rows with
+ [ Some canonical_hostname, Some has_global_css,
+ Some edit_anon, Some create_account_anon, Some has_theme_css,
+ theme_name, theme_description,
+ feedback_email,
+ Some mailing_list, Some search_box, Some navigation, Some view_anon,
+ brand, brand_tagline, brand_description ] ->
+ let theme_name =
+ match theme_name with Some s -> s | None -> "" in
+ let theme_description =
+ match theme_description with Some s -> s | None -> "" in
+ let feedback_email, has_feedback_email =
+ match feedback_email with
+ Some s -> s, true
+ | None -> "", false in
+ let brand, has_brand =
+ match brand with
+ Some s -> s, true
+ | None -> "", false in
+ let brand_tagline =
+ match brand_tagline with None -> "" | Some s -> s in
+ let brand_description =
+ match brand_description with None -> "" | Some s -> s in
+ canonical_hostname, has_global_css, edit_anon, create_account_anon,
+ has_theme_css, theme_name, theme_description, has_feedback_email,
+ feedback_email, mailing_list, search_box, navigation, view_anon,
+ has_brand, brand, brand_tagline, brand_description
+ | _ -> assert false in