loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: fix some function names in comment (#32300)

fix some function names in comment

(cherry picked from commit 3d6ccbac3f20c485ab95a29d280c9371e558bfac)

authored by

wangjingcun and committed by
Gergely Nagy
c9cb4700 0e0a153a

+3 -3
+1 -1
cmd/admin_auth_ldap.go
··· 386 386 return a.createAuthSource(ctx, authSource) 387 387 } 388 388 389 - // updateLdapBindDn updates a new LDAP (simple auth) authentication source. 389 + // updateLdapSimpleAuth updates a new LDAP (simple auth) authentication source. 390 390 func (a *authService) updateLdapSimpleAuth(c *cli.Context) error { 391 391 ctx, cancel := installSignals() 392 392 defer cancel()
+1 -1
models/issues/issue.go
··· 875 875 return issues, nil 876 876 } 877 877 878 - // IsNewPinnedAllowed returns if a new Issue or Pull request can be pinned 878 + // IsNewPinAllowed returns if a new Issue or Pull request can be pinned 879 879 func IsNewPinAllowed(ctx context.Context, repoID int64, isPull bool) (bool, error) { 880 880 var maxPin int 881 881 _, err := db.GetEngine(ctx).SQL("SELECT COUNT(pin_order) FROM issue WHERE repo_id = ? AND is_pull = ? AND pin_order > 0", repoID, isPull).Get(&maxPin)
+1 -1
models/issues/pull.go
··· 689 689 return pr, pr.LoadAttributes(ctx) 690 690 } 691 691 692 - // GetPullRequestsByBaseHeadInfo returns the pull request by given base and head 692 + // GetPullRequestByBaseHeadInfo returns the pull request by given base and head 693 693 func GetPullRequestByBaseHeadInfo(ctx context.Context, baseID, headID int64, base, head string) (*PullRequest, error) { 694 694 pr := &PullRequest{} 695 695 sess := db.GetEngine(ctx).