Remove strange stage transition code.
It may be necessary, but I can't figure out what it is supposed to be doing git-svn-id: http://webgoat.googlecode.com/svn/trunk@160 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
parent
402fe9d95c
commit
851974d7ce
@ -158,18 +158,3 @@ WebSession webSession = ((WebSession)session.getAttribute("websession"));
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<%
|
|
||||||
if (lesson.getStage(webSession) == 1005)
|
|
||||||
{
|
|
||||||
lesson.setStage(webSession, 5);
|
|
||||||
//System.out.println("Reloading ViewProfile.jsp for stage 5 transition");
|
|
||||||
String thisPage = webSession.getCurrentLink();
|
|
||||||
//System.out.println("Redirecting to " + thisPage);
|
|
||||||
%>
|
|
||||||
<script language="javascript">location.href="<%=thisPage%>"</script>
|
|
||||||
<%
|
|
||||||
}
|
|
||||||
%>
|
|
Loading…
x
Reference in New Issue
Block a user