announcement_milestone:"14.9"# The milestone when this feature was first announced as deprecated.
removal_milestone:"15.0"# the milestone when this feature is planned to be removed
body:| # Do not modify this line, instead modify the lines below.
The [`custom_hooks_dir`](https://docs.gitlab.com/ee/administration/server_hooks.html#create-a-global-server-hook-for-all-repositories) setting is now configured in Gitaly, and will be removed from GitLab Shell in GitLab 15.0.