From 93783274a438204a31865c848913088af96f0377 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Mon, 26 May 2014 12:54:06 -0400 Subject: Improve automatic actions (move task to another position same columns) --- app/Core/Event.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'app/Core') diff --git a/app/Core/Event.php b/app/Core/Event.php index ac81bf87..0e6df5e8 100644 --- a/app/Core/Event.php +++ b/app/Core/Event.php @@ -127,6 +127,17 @@ class Event return in_array($eventName, $this->events); } + /** + * Flush the list of triggered events + * + * @access public + */ + public function clearTriggeredEvents() + { + $this->events = array(); + $this->lastEvent = ''; + } + /** * Check if a listener bind to an event * -- cgit v1.2.3