Skip to content

Commit

Permalink
[Continuation] Removed the FlowExecution::getActiveFlowExecutionTicke…
Browse files Browse the repository at this point in the history
…t() method. (Issue piece#4)
  • Loading branch information
iteman committed Sep 18, 2012
1 parent 557dfa8 commit d77d41f
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/Piece/Flow/Continuation/FlowExecution.php
Expand Up @@ -153,7 +153,7 @@ public function hasExclusiveFlowExecution($flowID)
*/
public function getActiveFlow()
{
return $this->flowExecutions[ $this->getActiveFlowExecutionTicket() ]->getPageFlow();
return $this->flowExecutions[ $this->activeFlowExecutionTicket ]->getPageFlow();
}

/**
Expand Down Expand Up @@ -187,17 +187,6 @@ public function getFlowExecutionTicketByFlowID($flowID)
return @$this->exclusiveFlowExecutionTicketsByFlowID[$flowID];
}

/**
* Gets the flow execution ticket for the active flow execution.
*
* @return string
* @since Method available since Release 1.16.0
*/
public function getActiveFlowExecutionTicket()
{
return $this->activeFlowExecutionTicket;
}

/**
* @param string $id
* @return \Piece\Flow\Continuation\PageFlowInstance
Expand Down

0 comments on commit d77d41f

Please sign in to comment.