|
|
|
@@ -1386,9 +1386,11 @@ func GetRepositoriesByForkID(forkID int64) ([]*Repository, error) { |
|
|
|
func updateRepository(e Engine, repo *Repository, visibilityChanged bool) (err error) { |
|
|
|
repo.LowerName = strings.ToLower(repo.Name) |
|
|
|
|
|
|
|
if len(repo.Description) > 255 { |
|
|
|
/*if len(repo.Description) > 255 { |
|
|
|
repo.Description = repo.Description[:255] |
|
|
|
} |
|
|
|
|
|
|
|
*/ |
|
|
|
if len(repo.Website) > 255 { |
|
|
|
repo.Website = repo.Website[:255] |
|
|
|
} |
|
|
|
|