summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorsuccessgo <success.go@gaodacheng.com>2020-06-22 23:21:11 +0800
committerGitHub <noreply@github.com>2020-06-22 11:21:11 -0400
commit4dee08a6b4d3ba413ddcd6a8bb3e581b287dcb5d (patch)
tree916fd8691ef578cce4580b3414f82e2284d4f954 /models
parent121103fecf0fb72ccd8bf1fe2b63b3d20d1d4426 (diff)
downloadgitea-4dee08a6b4d3ba413ddcd6a8bb3e581b287dcb5d.tar.gz
gitea-4dee08a6b4d3ba413ddcd6a8bb3e581b287dcb5d.zip
Fix typo (#12013)
* Fix typo of MSSQL * Fix typo: validates * Fix typo * fix comment with space Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'models')
-rw-r--r--models/org.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/org.go b/models/org.go
index 58afc5cb59..9fa213e17e 100644
--- a/models/org.go
+++ b/models/org.go
@@ -717,7 +717,7 @@ func (org *User) getUserTeamIDs(e Engine, userID int64) ([]int64, error) {
Find(&teamIDs)
}
-// TeamsWithAccessToRepo returns all teamsthat have given access level to the repository.
+// TeamsWithAccessToRepo returns all teams that have given access level to the repository.
func (org *User) TeamsWithAccessToRepo(repoID int64, mode AccessMode) ([]*Team, error) {
return GetTeamsWithAccessToRepo(org.ID, repoID, mode)
}