From f470c241d6b1de30e4f500a6cf69f6ecd0cf8b41 Mon Sep 17 00:00:00 2001
From: Unknown <joe2010xtmf@163.com>
Date: Thu, 27 Mar 2014 11:37:33 -0400
Subject: IP: RC Code Review

---
 models/access.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'models/access.go')

diff --git a/models/access.go b/models/access.go
index 36d9405f..84cad17a 100644
--- a/models/access.go
+++ b/models/access.go
@@ -15,7 +15,7 @@ const (
 	AU_WRITABLE
 )
 
-// Access represents the accessibility of user and repository.
+// Access represents the accessibility of user to repository.
 type Access struct {
 	Id       int64
 	UserName string    `xorm:"unique(s)"`
@@ -30,7 +30,7 @@ func AddAccess(access *Access) error {
 	return err
 }
 
-// HasAccess returns true if someone can read or write given repository.
+// HasAccess returns true if someone can read or write to given repository.
 func HasAccess(userName, repoName string, mode int) (bool, error) {
 	return orm.Get(&Access{
 		Id:       0,
-- 
cgit v1.2.3