diff options
author | Jason A. Donenfeld | 2015-08-14 15:54:32 +0200 |
---|---|---|
committer | Jason A. Donenfeld | 2015-08-14 15:54:32 +0200 |
commit | 03de473354dc8c17a3b23a973b5cc67752ad20cb (patch) | |
tree | 9ec8e24b626018876eb266c24464ff2e0ae0dde1 /cgit.c | |
parent | c5975ae56684a1188637f2bdba7d8e18de075abc (diff) | |
download | cgit-03de473354dc8c17a3b23a973b5cc67752ad20cb.tar.gz cgit-03de473354dc8c17a3b23a973b5cc67752ad20cb.tar.bz2 cgit-03de473354dc8c17a3b23a973b5cc67752ad20cb.zip |
cmd: no need for pre function hook now
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -733,9 +733,6 @@ static void process_request(void) | |||
733 | if (ctx.repo && prepare_repo_cmd()) | 733 | if (ctx.repo && prepare_repo_cmd()) |
734 | return; | 734 | return; |
735 | 735 | ||
736 | if (cmd->pre) | ||
737 | cmd->pre(); | ||
738 | |||
739 | cmd->fn(); | 736 | cmd->fn(); |
740 | } | 737 | } |
741 | 738 | ||