From e3757d892bd23acb4b2ea966dc93dec77cf902ea Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Wed, 2 Apr 2014 17:27:10 -0400 Subject: [PATCH] CC-5709: Airtime Analyzer * Fix hack for Airtime Pro --- airtime_mvc/application/models/RabbitMq.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/application/models/RabbitMq.php b/airtime_mvc/application/models/RabbitMq.php index df4876ff5..894ae4122 100644 --- a/airtime_mvc/application/models/RabbitMq.php +++ b/airtime_mvc/application/models/RabbitMq.php @@ -116,11 +116,11 @@ class Application_Model_RabbitMq //the way it is just so I don't accidentally break anything when I add the Analyzer code in. -- Albert, March 13, 2014 $channel->exchange_declare($exchange, $exchangeType, false, true, $autoDeleteExchange); - $msg = new AMQPMessage($data, array('content_type' => 'text/plain')); + $msg = new AMQPMessage($jsonData, array('content_type' => 'text/plain')); $channel->basic_publish($msg, $exchange); - $channel->close(); - $conn->close(); + $channel->close(); + $conn->close(); }