From e468646cd6c5b2b214b15ba25855de5c824dfb90 Mon Sep 17 00:00:00 2001 From: "Artem.Arefev" Date: Sun, 19 May 2019 00:47:49 +0400 Subject: [PATCH] 89 removed getCurrentUser --- src/main/java/ru/ulstu/core/controller/AdviceController.java | 5 ----- src/main/resources/public/js/users.js | 1 - 2 files changed, 6 deletions(-) diff --git a/src/main/java/ru/ulstu/core/controller/AdviceController.java b/src/main/java/ru/ulstu/core/controller/AdviceController.java index 37078b9..f89001a 100644 --- a/src/main/java/ru/ulstu/core/controller/AdviceController.java +++ b/src/main/java/ru/ulstu/core/controller/AdviceController.java @@ -34,11 +34,6 @@ public class AdviceController { public AdviceController(UserService userService) { this.userService = userService; } -// -// @ModelAttribute("currentUser") -// public String getCurrentUser() { -// return userService.getCurrentUser().getUserAbbreviate(); -// } @ModelAttribute("flashMessage") public String getFlashMessage() { diff --git a/src/main/resources/public/js/users.js b/src/main/resources/public/js/users.js index a49bdc6..1ea26e3 100644 --- a/src/main/resources/public/js/users.js +++ b/src/main/resources/public/js/users.js @@ -81,7 +81,6 @@ function requestResetPassword() { error: function(errorData) { showFeedbackMessage(errorData.responseJSON.error.message, MessageTypesEnum.WARNING) document.getElementById("dvloader").hidden = true; - } })