Add a core thread that periodically saves the configuration.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ajax / DeleteProfileFieldAjaxPage.java
index 383d2d4..4625c13 100644 (file)
@@ -54,7 +54,7 @@ public class DeleteProfileFieldAjaxPage extends JsonPage {
                }
                profile.removeField(field);
                currentSone.setProfile(profile);
-               webInterface.getCore().saveSone(currentSone);
+               webInterface.getCore().touchConfiguration();
                return createSuccessJsonObject().put("field", new JsonObject().put("id", field.getId()));
        }