@@ -887,10 +887,6 @@ private ThemeDisplay _initThemeDisplay(
887
887
return null ;
888
888
}
889
889
890
- // Portal URL
891
-
892
- String portalURL = PortalUtil .getPortalURL (httpServletRequest );
893
-
894
890
boolean signedIn = !user .isDefaultUser ();
895
891
896
892
if (PropsValues .BROWSER_CACHE_DISABLED ||
@@ -916,15 +912,6 @@ private ThemeDisplay _initThemeDisplay(
916
912
realUser = UserLocalServiceUtil .getUserById (realUserId .longValue ());
917
913
}
918
914
919
- String doAsUserId = ParamUtil .getString (
920
- httpServletRequest , "doAsUserId" );
921
- String doAsUserLanguageId = ParamUtil .getString (
922
- httpServletRequest , "doAsUserLanguageId" );
923
- long doAsGroupId = ParamUtil .getLong (httpServletRequest , "doAsGroupId" );
924
-
925
- long refererGroupId = ParamUtil .getLong (
926
- httpServletRequest , "refererGroupId" );
927
-
928
915
long refererPlid = ParamUtil .getLong (httpServletRequest , "refererPlid" );
929
916
930
917
if ((refererPlid != 0 ) &&
@@ -978,7 +965,6 @@ private ThemeDisplay _initThemeDisplay(
978
965
}
979
966
980
967
Layout layout = null ;
981
- List <Layout > layouts = null ;
982
968
983
969
long plid = ParamUtil .getLong (httpServletRequest , "p_l_id" );
984
970
@@ -1057,6 +1043,21 @@ private ThemeDisplay _initThemeDisplay(
1057
1043
}
1058
1044
}
1059
1045
1046
+ // Portal URL
1047
+
1048
+ String portalURL = PortalUtil .getPortalURL (httpServletRequest );
1049
+
1050
+ String doAsUserId = ParamUtil .getString (
1051
+ httpServletRequest , "doAsUserId" );
1052
+ String doAsUserLanguageId = ParamUtil .getString (
1053
+ httpServletRequest , "doAsUserLanguageId" );
1054
+ long doAsGroupId = ParamUtil .getLong (httpServletRequest , "doAsGroupId" );
1055
+
1056
+ long refererGroupId = ParamUtil .getLong (
1057
+ httpServletRequest , "refererGroupId" );
1058
+
1059
+ List <Layout > layouts = null ;
1060
+
1060
1061
String ppid = ParamUtil .getString (httpServletRequest , "p_p_id" );
1061
1062
1062
1063
Boolean redirectToDefaultLayout =
0 commit comments