]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
cmd: remove "want_layout" field
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index 3a97563c11fc5095fce52c63d57ca2a597160efd..727141232222310d0ad29eaf0797609c8953dc16 100644 (file)
--- 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)