-fix silly mistake after refactoring

This commit is contained in:
Martin Konecny 2012-09-11 11:14:47 -04:00
parent 6c54605327
commit 41d9b2490a
1 changed files with 0 additions and 1 deletions

View File

@ -29,7 +29,6 @@ class Application_Model_RabbitMq
$EXCHANGE = 'airtime-pypo';
$channel->exchange_declare($EXCHANGE, 'direct', false, true);
$data = json_encode($md, JSON_FORCE_OBJECT);
$msg = new AMQPMessage($data, array('content_type' => 'text/plain'));
$channel->basic_publish($msg, $EXCHANGE);