From 39c068400e9dd3a577580faa41e87140c2d2e499 Mon Sep 17 00:00:00 2001 From: Joseph Crail Date: Sat, 6 Dec 2014 20:22:48 -0500 Subject: Fix spelling errors in comments. --- models/user.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'models/user.go') diff --git a/models/user.go b/models/user.go index a83051db..7e6a6c82 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)"` -- cgit v1.2.3