mirror of
https://github.com/redmine/redmine.git
synced 2026-05-06 12:45:34 +02:00
Add avatar_server_url configuration option in order to support Libravatar (#9112).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18124 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -63,7 +63,7 @@ module GravatarHelper
|
||||
|
||||
# Returns the base Gravatar URL for the given email hash
|
||||
def gravatar_api_url(hash)
|
||||
'https://www.gravatar.com/avatar/' + hash.to_s
|
||||
+"#{Redmine::Configuration['avatar_server_url']}/avatar/#{hash}"
|
||||
end
|
||||
|
||||
# Return the gravatar URL for the given email address.
|
||||
|
||||
Reference in New Issue
Block a user