From: David ‘Bombe’ Roden Date: Sun, 15 Mar 2015 10:28:46 +0000 (+0100) Subject: Remove useless code X-Git-Tag: 0.9-rc1^2~3^2~3 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d60373340ecfadc42638e947c1bb85cad2d4c1b0;p=Sone.git Remove useless code --- diff --git a/src/main/java/net/pterodactylus/sone/web/EditProfilePage.java b/src/main/java/net/pterodactylus/sone/web/EditProfilePage.java index d7d729f..162d637 100644 --- a/src/main/java/net/pterodactylus/sone/web/EditProfilePage.java +++ b/src/main/java/net/pterodactylus/sone/web/EditProfilePage.java @@ -99,7 +99,6 @@ public class EditProfilePage extends SoneTemplatePage { try { profile.addField(fieldName); currentSone.setProfile(profile); - fields = profile.getFields(); webInterface.getCore().touchConfiguration(); throw new RedirectException("editProfile.html#profile-fields"); } catch (DuplicateField df1) {