From d60373340ecfadc42638e947c1bb85cad2d4c1b0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 15 Mar 2015 11:28:46 +0100 Subject: [PATCH] Remove useless code --- src/main/java/net/pterodactylus/sone/web/EditProfilePage.java | 1 - 1 file changed, 1 deletion(-) 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) { -- 2.7.4