diff options
author | John Keeping | 2015-08-14 12:47:21 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2015-08-14 15:46:51 +0200 |
commit | a420c7ce9b2c483c2f93b8a1a03cc80f3eeedb20 (patch) | |
tree | 4a85364eafb77706b78585fed09e3658d991fa7c /cgit.c | |
parent | 9c70c0bfdb71b39f6bae6e0c77bbe40b22d64ff5 (diff) | |
download | cgit-a420c7ce9b2c483c2f93b8a1a03cc80f3eeedb20.tar cgit-a420c7ce9b2c483c2f93b8a1a03cc80f3eeedb20.tar.gz cgit-a420c7ce9b2c483c2f93b8a1a03cc80f3eeedb20.zip |
cmd: remove "want_layout" field
No commands use this any more.
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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) |