提交 dd0f362e 编写于 作者: K Kohsuke Kawaguchi

Follow-up fix to 968c19df

removing static is a binary incompatible change.
上级 f461f560
......@@ -1454,8 +1454,15 @@ public class Functions {
* @return a URL string
* @since 1.433
*/
public static String getUserAvatar(User user, String avatarSize) {
public static String getAvatar(User user, String avatarSize) {
return UserAvatarResolver.resolve(user, avatarSize);
}
/**
* @deprecated as of 1.451
* Use {@link #getAvatar}
*/
public String getUserAvatar(User user, String avatarSize) {
return getAvatar(user,avatarSize);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册