summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-06-29 12:11:34 -0400
committerEthan Koenig <ethantkoenig@gmail.com>2017-06-29 12:11:34 -0400
commit2b410e44b2813648d670feb2fd543638bd8a4c80 (patch)
tree61a9bcf01553f956e3e60f4a5698c87cee5ae496 /modules
parent05e37264154bbcb375b358798c7a8f9b499c4881 (diff)
downloadgitea-2b410e44b2813648d670feb2fd543638bd8a4c80.tar.gz
gitea-2b410e44b2813648d670feb2fd543638bd8a4c80.zip
lint
Diffstat (limited to 'modules')
-rw-r--r--modules/base/tool.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/base/tool.go b/modules/base/tool.go
index 1bf1ce3951..543775e0df 100644
--- a/modules/base/tool.go
+++ b/modules/base/tool.go
@@ -192,6 +192,7 @@ func HashEmail(email string) string {
return EncodeMD5(strings.ToLower(strings.TrimSpace(email)))
}
+// DefaultAvatarLink the default avatar link
func DefaultAvatarLink() string {
return setting.AppSubURL + "/img/avatar_default.png"
}