fix #5759 remove all switches for remoting and standalone
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / bar / AuthenticatedUserBar.java
index 38ae7193bb78ca5a632f2c114595fbd2d8e132e2..c0486d07d83b5a174067655aff90eb1f606781a3 100644 (file)
@@ -69,11 +69,10 @@ public class AuthenticatedUserBar extends WorkbenchWindowControlContribution imp
         if(authenticatedUser == null) {
             text = "Not logged in              " ;
         } else {
-            if(CdmStore.getCurrentSessionManager().isRemoting()) {
-                CdmRemoteSource source = (CdmRemoteSource) CdmStore.getActiveCdmSource();
-                String loginInfo = authenticatedUser.getUsername() + "@" + source.getName() + ":" + source.getContextPath();
-                PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell().setText(ApplicationUtil.getTitle() + " " + loginInfo);
-            }
+            CdmRemoteSource source = (CdmRemoteSource) CdmStore.getActiveCdmSource();
+            String loginInfo = authenticatedUser.getUsername() + "@" + source.getName() + ":" + source.getContextPath();
+            PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell().setText(ApplicationUtil.getTitle() + " " + loginInfo);
+            
             text = "Logged in as: " + authenticatedUser.getUsername() + "         ";
         }