From 278bca820918bd34f1fc02a0fa8c665d49720bbd Mon Sep 17 00:00:00 2001 From: srosse <none@none> Date: Thu, 6 Dec 2012 10:28:39 +0100 Subject: [PATCH] OO-451: remove debug code to fix a unit test of the REST api --- .../java/org/olat/login/OLATAuthenticationController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/olat/login/OLATAuthenticationController.java b/src/main/java/org/olat/login/OLATAuthenticationController.java index f89479dc82c..e9436235349 100644 --- a/src/main/java/org/olat/login/OLATAuthenticationController.java +++ b/src/main/java/org/olat/login/OLATAuthenticationController.java @@ -299,10 +299,10 @@ public class OLATAuthenticationController extends AuthenticationController imple ident = findIdentInChangingEmailWorkflow(login); } } - - ident.getUser().getPreferences().getLanguage(); - - if (ident == null) return null; + + if (ident == null) { + return null; + } // find OLAT authentication provider Authentication auth = BaseSecurityManager.getInstance().findAuthentication( -- GitLab