Sone currentSone = getCurrentSone(request.getToadletContext());
String soneIds = request.getHttpRequest().getPartAsStringFailsafe("sone", 2000);
for (String soneId : soneIds.split("[ ,]+")) {
- currentSone.removeFriend(soneId);
+ webInterface.getCore().unfollowSone(currentSone, soneId);
}
- webInterface.getCore().touchConfiguration();
throw new RedirectException(returnPage);
}
}