* The Sone web interface
*/
public UnfollowSoneAjaxPage(WebInterface webInterface) {
- super("ajax/unfollowSone.ajax", webInterface);
+ super("unfollowSone.ajax", webInterface);
}
/**
return createErrorJsonObject("auth-required");
}
currentSone.removeFriend(soneId);
- webInterface.getCore().saveSone(currentSone);
- return new JsonObject().put("success", true);
+ webInterface.getCore().touchConfiguration();
+ return createSuccessJsonObject();
}
}