Skip to content

Commit f695b86

Browse files
authored
Update models/user/user.go
1 parent 5242015 commit f695b86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/user/user.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ func (u *User) CanEditGitHook() bool {
273273
return !setting.DisableGitHooks && (u.IsAdmin || u.AllowGitHook)
274274
}
275275

276+
// CanForkRepoIn ONLY checks repository count limit
276277
func (u *User) CanForkRepoIn(owner *User) bool {
277278
if setting.Repository.AllowForkWithoutMaximumLimit {
278279
return true

0 commit comments

Comments
 (0)