From 057ca5507446ad8387d60db4087d9f484a07cb0d Mon Sep 17 00:00:00 2001 From: Naomi Aro Date: Tue, 3 Apr 2012 18:43:13 +0200 Subject: [PATCH] CC-3589 : Send cancel recording message to pypo --- airtime_mvc/application/models/Scheduler.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/airtime_mvc/application/models/Scheduler.php b/airtime_mvc/application/models/Scheduler.php index 290cb9728..ea179af4e 100644 --- a/airtime_mvc/application/models/Scheduler.php +++ b/airtime_mvc/application/models/Scheduler.php @@ -581,6 +581,10 @@ class Application_Model_Scheduler { } $this->con->commit(); + + if ($instance->getDbRecord()) { + Application_Model_RabbitMq::SendMessageToShowRecorder("cancel_recording"); + } } catch (Exception $e) { $this->con->rollback();