File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -160,9 +160,7 @@ func initExtendedTasks() {
160160 registerGarbageCollectRepositories ()
161161 registerRewriteAllPublicKeys ()
162162 registerRewriteAllPrincipalKeys ()
163- if ! setting .DisableGitHooks {
164- registerRepositoryUpdateHook ()
165- }
163+ registerRepositoryUpdateHook ()
166164 registerReinitMissingRepositories ()
167165 registerDeleteMissingRepositories ()
168166 registerRemoveRandomAvatars ()
Original file line number Diff line number Diff line change 5252 <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>
5353 </tr>
5454 {{end}}
55- {{if not DisableGitHooks}}
5655 <tr>
5756 <td>{{.i18n.Tr "admin.dashboard.resync_all_hooks"}}</td>
5857 <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>
5958 </tr>
60- {{end}}
6159 <tr>
6260 <td>{{.i18n.Tr "admin.dashboard.reinit_missing_repos"}}</td>
6361 <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