diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2015-08-14 15:54:32 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2015-08-14 15:54:32 +0200 |
commit | 03de473354dc8c17a3b23a973b5cc67752ad20cb (patch) | |
tree | 9ec8e24b626018876eb266c24464ff2e0ae0dde1 /cgit.c | |
parent | ui-shared: cache errors for "dynamic TTL" (diff) | |
download | cgit-pink-03de473354dc8c17a3b23a973b5cc67752ad20cb.tar.gz cgit-pink-03de473354dc8c17a3b23a973b5cc67752ad20cb.zip |
cmd: no need for pre function hook now
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | cgit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cgit.c b/cgit.c index 7271412..28a2f14 100644 --- 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(); } |