CC-2833: Use ClassLoaders for PHP Files

-autoload RabbitMq class
This commit is contained in:
martin 2011-09-26 15:19:04 -04:00
parent 2c0b0a2eff
commit dfe43c98bb
12 changed files with 35 additions and 35 deletions

View file

@ -4,10 +4,10 @@ class RabbitMqPlugin extends Zend_Controller_Plugin_Abstract
{
public function dispatchLoopShutdown()
{
if (RabbitMq::$doPush) {
if (Application_Model_RabbitMq::$doPush) {
$md = array('schedule' => Application_Model_Schedule::GetScheduledPlaylists());
RabbitMq::SendMessageToPypo("update_schedule", $md);
RabbitMq::SendMessageToShowRecorder("update_schedule");
Application_Model_RabbitMq::SendMessageToPypo("update_schedule", $md);
Application_Model_RabbitMq::SendMessageToShowRecorder("update_schedule");
}
}
}