From 9cb0f82bd97840dc96099423d8834f07a19c0982 Mon Sep 17 00:00:00 2001 From: KUBO Atsuhiro Date: Wed, 1 Aug 2012 15:50:10 +0900 Subject: [PATCH] [Continuation] Removed the FlowExecution::checkLastEvent() method. (Issue #4) --- src/Piece/Flow/Continuation/FlowExecution.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/Piece/Flow/Continuation/FlowExecution.php b/src/Piece/Flow/Continuation/FlowExecution.php index 67b1fdf..a3438d2 100644 --- a/src/Piece/Flow/Continuation/FlowExecution.php +++ b/src/Piece/Flow/Continuation/FlowExecution.php @@ -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.