Skip to content

Commit

Permalink
[Continuation] Removed the FlowExecution::checkLastEvent() method. (I…
Browse files Browse the repository at this point in the history
…ssue piece#4)
  • Loading branch information
iteman committed Sep 18, 2012
1 parent 6976c93 commit 9cb0f82
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/Piece/Flow/Continuation/FlowExecution.php
Expand Up @@ -67,21 +67,6 @@ public function disableFlowExecution($flowExecutionTicket)
}
}

/**
* Returns whether the last event which is given by a user is valid or
* not.
*
* @return boolean
*/
public function checkLastEvent()
{
if (!$this->activated()) {
return true;
}

return $this->flowExecutions[ $this->getActiveFlowExecutionTicket() ]->checkLastEvent();
}

/**
* Activates the flow execution which is indicated by the given flow
* execution ticket.
Expand Down

0 comments on commit 9cb0f82

Please sign in to comment.