Expose core as member of JsonPage
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / ajax / DeleteProfileFieldAjaxPage.kt
index 9595a8c..05f53da 100644 (file)
@@ -18,7 +18,7 @@ class DeleteProfileFieldAjaxPage(webInterface: WebInterface) : LoggedInJsonPage(
                                                        createSuccessJsonObject().also {
                                                                profile.removeField(field)
                                                                currentSone.profile = profile
-                                                               webInterface.core.touchConfiguration()
+                                                               core.touchConfiguration()
                                                        }
                                                } ?: createErrorJsonObject("invalid-field-id")
                        }