Add a core thread that periodically saves the configuration.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ajax / MoveProfileFieldAjaxPage.java
index 780e4d1..092c1f7 100644 (file)
@@ -71,7 +71,7 @@ public class MoveProfileFieldAjaxPage extends JsonPage {
                        return createErrorJsonObject("not-possible");
                }
                currentSone.setProfile(profile);
-               webInterface.getCore().saveSone(currentSone);
+               webInterface.getCore().touchConfiguration();
                return createSuccessJsonObject();
        }