- Sone sone = webInterface.getCore().getSone(soneId);
- if (!sone.equals(currentSone)) {
- currentSone.removeFriend(sone);
- webInterface.getCore().saveSone(currentSone);
+ String soneIds = request.getHttpRequest().getPartAsStringFailsafe("sone", 2000);
+ for (String soneId : soneIds.split("[ ,]+")) {
+ webInterface.getCore().unfollowSone(currentSone, soneId);