LPS-42714

Hi Jorge,

I found this when I searched for XSS issues.

The condition there is always true, because:
1, https://github.com/topolik/liferay-portal/blob/6038fe0210993dd739228e2cd99d702f8fa3fb2a/portal-web/docroot/html/portal/layout/view/control_panel.jsp#L134
2, https://github.com/topolik/liferay-portal/blob/6038fe0210993dd739228e2cd99d702f8fa3fb2a/portal-web/docroot/html/portal/layout/view/control_panel.jsp#L105

So I'd like to remove the dead code and also remove the false-positive XSS there.

Thanks!