Add a core thread that periodically saves the configuration.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / UnfollowSonePage.java
index 191d9d4..33b88a1 100644 (file)
@@ -56,7 +56,7 @@ public class UnfollowSonePage extends SoneTemplatePage {
                        for (String soneId : soneIds.split("[ ,]+")) {
                                currentSone.removeFriend(soneId);
                        }
-                       webInterface.getCore().saveSone(currentSone);
+                       webInterface.getCore().touchConfiguration();
                        throw new RedirectException(returnPage);
                }
        }