remove post hook case

This commit is contained in:
benito 2021-05-27 16:45:07 +08:00 committed by benitogf
parent d00435048d
commit cb3c4e83c1
1 changed files with 0 additions and 2 deletions

View File

@ -121,8 +121,6 @@ func SetupPostHooks(handler *handler.Handler) {
invokeHookAsync(hooks.HookPostReceive, info)
case info := <-handler.CreatedUploads:
invokeHookAsync(hooks.HookPostCreate, info)
case info := <-handler.GetUploads:
invokeHookAsync(hooks.HookPreGet, info)
}
}
}()