File tree 2 files changed +1
-5
lines changed
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -160,9 +160,7 @@ func initExtendedTasks() {
160
160
registerGarbageCollectRepositories ()
161
161
registerRewriteAllPublicKeys ()
162
162
registerRewriteAllPrincipalKeys ()
163
- if ! setting .DisableGitHooks {
164
- registerRepositoryUpdateHook ()
165
- }
163
+ registerRepositoryUpdateHook ()
166
164
registerReinitMissingRepositories ()
167
165
registerDeleteMissingRepositories ()
168
166
registerRemoveRandomAvatars ()
Original file line number Diff line number Diff line change 52
52
<td><button type="submit" class="ui green button" name="op" value="resync_all_sshprincipals">{{svg "octicon-play" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td>
53
53
</tr>
54
54
{{end}}
55
- {{if not DisableGitHooks}}
56
55
<tr>
57
56
<td>{{.i18n.Tr "admin.dashboard.resync_all_hooks"}}</td>
58
57
<td><button type="submit" class="ui green button" name="op" value="resync_all_hooks">{{svg "octicon-play"}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td>
59
58
</tr>
60
- {{end}}
61
59
<tr>
62
60
<td>{{.i18n.Tr "admin.dashboard.reinit_missing_repos"}}</td>
63
61
<td><button type="submit" class="ui green button" name="op" value="reinit_missing_repos">{{svg "octicon-play"}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td>
You can’t perform that action at this time.
0 commit comments