From 01e8cfe1d7cf5ff68428964441d6c77731adb6bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 23 Oct 2010 01:04:35 +0200 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20insert=20friends=20anymore.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/sone/core/SoneInserter.java | 1 - src/main/resources/templates/insert/sone.xml | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/core/SoneInserter.java b/src/main/java/net/pterodactylus/sone/core/SoneInserter.java index 2574b74..cf26ebb 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneInserter.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneInserter.java @@ -181,7 +181,6 @@ public class SoneInserter extends AbstractService { soneProperties.put("profile", sone.getProfile()); soneProperties.put("posts", new ArrayList(sone.getPosts())); soneProperties.put("replies", new HashSet(sone.getReplies())); - soneProperties.put("friends", new HashSet(sone.getFriends())); soneProperties.put("blockedSoneIds", new HashSet(sone.getBlockedSoneIds())); } diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index 2469e49..27b9c20 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -32,16 +32,6 @@ <%/foreach> - - <%foreach currentSone.friends friend> - - <% friend.id|xml> - <% friend.requestUri|xml> - <% friend.name|xml> - - <%/foreach> - - <%foreach knownSones sone> -- 2.7.4