mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	command dump
This commit is contained in:
		| @@ -140,7 +140,9 @@ func CreateTimeLimitCode(data string, minutes int, startInf interface{}) string | ||||
|  | ||||
| // AvatarLink returns avatar link by given e-mail. | ||||
| func AvatarLink(email string) string { | ||||
| 	if Service.EnableCacheAvatar { | ||||
| 	if DisableGravatar { | ||||
| 		return "/img/avatar_default.jpg" | ||||
| 	} else if Service.EnableCacheAvatar { | ||||
| 		return "/avatar/" + EncodeMd5(email) | ||||
| 	} | ||||
| 	return "//1.gravatar.com/avatar/" + EncodeMd5(email) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user