summaryrefslogtreecommitdiffstats
path: root/models/user.go
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2014-12-06 20:22:48 -0500
committerJoseph Crail <jbcrail@gmail.com>2014-12-06 20:22:48 -0500
commit39c068400e9dd3a577580faa41e87140c2d2e499 (patch)
tree96f3d13fa2f884b845c7b1507c1de07927da1617 /models/user.go
parent47e7175b80d1f1bf05bd2da3a38c898596b12835 (diff)
downloadgitea-39c068400e9dd3a577580faa41e87140c2d2e499.tar.gz
gitea-39c068400e9dd3a577580faa41e87140c2d2e499.zip
Fix spelling errors in comments.
Diffstat (limited to 'models/user.go')
-rw-r--r--models/user.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/models/user.go b/models/user.go
index a83051dbbd..7e6a6c824f 100644
--- a/models/user.go
+++ b/models/user.go
@@ -147,7 +147,7 @@ func (u *User) CustomAvatarPath() string {
}
// UploadAvatar saves custom avatar for user.
-// FIXME: splite uploads to different subdirs in case we have massive users.
+// FIXME: split uploads to different subdirs in case we have massive users.
func (u *User) UploadAvatar(data []byte) error {
u.UseCustomAvatar = true
@@ -584,7 +584,7 @@ func GetUserIdsByNames(names []string) []int64 {
return ids
}
-// UserCommit represtns a commit with validation of user.
+// UserCommit represents a commit with validation of user.
type UserCommit struct {
User *User
*git.Commit
@@ -651,7 +651,7 @@ func SearchUserByName(opt SearchOption) (us []*User, err error) {
return us, err
}
-// Follow is connection request for receiving user notifycation.
+// Follow is connection request for receiving user notification.
type Follow struct {
Id int64
UserId int64 `xorm:"unique(follow)"`