From a420c7ce9b2c483c2f93b8a1a03cc80f3eeedb20 Mon Sep 17 00:00:00 2001 From: John Keeping Date: Fri, 14 Aug 2015 12:47:21 +0100 Subject: cmd: remove "want_layout" field No commands use this any more. Signed-off-by: John Keeping --- cgit.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index 3a97563..7271412 100644 --- a/cgit.c +++ b/cgit.c @@ -736,16 +736,7 @@ static void process_request(void) if (cmd->pre) cmd->pre(); - if (cmd->want_layout) { - cgit_print_http_headers(); - cgit_print_docstart(); - cgit_print_pageheader(); - } - cmd->fn(); - - if (cmd->want_layout) - cgit_print_docend(); } static int cmp_repos(const void *a, const void *b) -- cgit v1.2.3-70-g09d2