[pLog-svn] r6941 - plog/branches/lifetype-1.2/class/controller
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed Jan 6 13:48:57 EST 2010
Author: jondaley
Date: 2010-01-06 13:48:57 -0500 (Wed, 06 Jan 2010)
New Revision: 6941
Modified:
plog/branches/lifetype-1.2/class/controller/sequentialcontroller.class.php
Log:
removed some unused code. and made the 'start' code more obvious that it isn't getting the whole request (and bypassing validation)
Modified: plog/branches/lifetype-1.2/class/controller/sequentialcontroller.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/controller/sequentialcontroller.class.php 2010-01-06 18:48:19 UTC (rev 6940)
+++ plog/branches/lifetype-1.2/class/controller/sequentialcontroller.class.php 2010-01-06 18:48:57 UTC (rev 6941)
@@ -74,11 +74,7 @@
function getCurrentStep()
{
$curStep = SessionManager::getSessionValue( SEQUENTIAL_CONTROLLER_SESSION_PARAMETER );
- $request = HttpVars::getRequest();
- if( empty($request["start"]) )
- $start = 0;
- else
- $start = $request["start"];
+ $start = HttpVars::getRequestValue("start");
if( !$curStep || $start == "1" ) {
$curStep = 0;
@@ -100,11 +96,6 @@
{
global $_plogController_previousAction;
- lt_include( PLOG_CLASS_PATH."class/net/request.class.php" );
-
- // get the name of the action
- $request = new Request( $httpRequest );
-
lt_include( PLOG_CLASS_PATH."class/action/actioninfo.class.php" );
$currentStep = $this->getCurrentStep();
More information about the pLog-svn
mailing list