We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5242015 commit f695b86Copy full SHA for f695b86
models/user/user.go
@@ -273,6 +273,7 @@ func (u *User) CanEditGitHook() bool {
273
return !setting.DisableGitHooks && (u.IsAdmin || u.AllowGitHook)
274
}
275
276
+// CanForkRepoIn ONLY checks repository count limit
277
func (u *User) CanForkRepoIn(owner *User) bool {
278
if setting.Repository.AllowForkWithoutMaximumLimit {
279
return true
0 commit comments