projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add test for DI constructability of DeleteImagePage
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
ajax
/
DeleteProfileFieldAjaxPage.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/web/ajax/DeleteProfileFieldAjaxPage.kt
b/src/main/kotlin/net/pterodactylus/sone/web/ajax/DeleteProfileFieldAjaxPage.kt
index
9595a8c
..
05f53da
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/ajax/DeleteProfileFieldAjaxPage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/ajax/DeleteProfileFieldAjaxPage.kt
@@
-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")
}