remove useless codes

This commit is contained in:
Wenkai Yin 2016-05-20 11:38:24 +08:00
parent 7920803735
commit 1919f19459

View File

@ -38,14 +38,8 @@ import (
// the security of registry
type RepositoryAPI struct {
BaseAPI
//userID int
}
// Prepare will set a non existent user ID in case the request tries to view repositories under a project he doesn't has permission.
//func (ra *RepositoryAPI) Prepare() {
// ra.userID = ra.ValidateUser()
//}
// Get ...
func (ra *RepositoryAPI) Get() {
projectID, err := ra.GetInt64("project_id")