]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
cmd: no need for pre function hook now
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index 727141232222310d0ad29eaf0797609c8953dc16..28a2f149c6cd41d8c113acf4d6e9db254a82685f 100644 (file)
--- a/cgit.c
+++ b/cgit.c
@@ -733,9 +733,6 @@ static void process_request(void)
        if (ctx.repo && prepare_repo_cmd())
                return;
 
-       if (cmd->pre)
-               cmd->pre();
-
        cmd->fn();
 }