Move avatar from options to profile.
[Sone.git] / src / main / java / net / pterodactylus / sone / template / SoneAccessor.java
index bc72776..ead6066 100644 (file)
@@ -112,12 +112,6 @@ public class SoneAccessor extends ReflectionAccessor {
                                return new Trust(null, null, null);
                        }
                        return trust;
-               } else if (member.equals("avatar")) {
-                       String avatarId = sone.getAvatar();
-                       if (avatarId == null) {
-                               return null;
-                       }
-                       return core.getImage(avatarId);
                }
                return super.get(templateContext, object, member);
        }