Update years in copyright line
[Sone.git] / src / main / java / net / pterodactylus / sone / web / EditProfilePage.java
index d7d729f..5145358 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - EditProfilePage.java - Copyright © 2010–2013 David Roden
+ * Sone - EditProfilePage.java - Copyright © 2010–2015 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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) {