mirror of
https://git.zx2c4.com/cgit
synced 2025-07-13 19:54:31 +02:00
cmd: no need for pre function hook now
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
c5975ae566
commit
03de473354
3 changed files with 9 additions and 20 deletions
3
cgit.c
3
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue