From: David ‘Bombe’ Roden Date: Fri, 22 Oct 2010 23:04:35 +0000 (+0200) Subject: Don’t insert friends anymore. X-Git-Tag: 0.1-RC1~75 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=01e8cfe1d7cf5ff68428964441d6c77731adb6bd;p=Sone.git Don’t insert friends anymore. --- 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>