mirror of
https://git.zx2c4.com/cgit
synced 2025-07-16 05:04:35 +02:00
cmd: remove "want_layout" field
No commands use this any more. Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
parent
9c70c0bfdb
commit
a420c7ce9b
3 changed files with 24 additions and 34 deletions
9
cgit.c
9
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue