diff options
Diffstat (limited to 'modules/repository/fork.go')
-rw-r--r-- | modules/repository/fork.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/repository/fork.go b/modules/repository/fork.go index 8953ce9ba4..638d3588ec 100644 --- a/modules/repository/fork.go +++ b/modules/repository/fork.go @@ -69,7 +69,7 @@ func ForkRepository(doer, owner *models.User, oldRepo *models.Repository, name, return fmt.Errorf("git update-server-info: %v", err) } - if err = models.CreateDelegateHooks(repoPath); err != nil { + if err = createDelegateHooks(repoPath); err != nil { return fmt.Errorf("createDelegateHooks: %v", err) } return nil |