-remove show-recorder from status page if saas enabled.

This commit is contained in:
Martin Konecny 2012-01-04 18:57:28 -05:00
parent e9634f94a1
commit 14b7fd03bb
1 changed files with 4 additions and 1 deletions

View File

@ -16,11 +16,14 @@ class SystemstatusController extends Zend_Controller_Action
$services = array( $services = array(
"pypo"=>Application_Model_Systemstatus::GetPypoStatus(), "pypo"=>Application_Model_Systemstatus::GetPypoStatus(),
"liquidsoap"=>Application_Model_Systemstatus::GetLiquidsoapStatus(), "liquidsoap"=>Application_Model_Systemstatus::GetLiquidsoapStatus(),
"show-recorder"=>Application_Model_Systemstatus::GetShowRecorderStatus(),
"media-monitor"=>Application_Model_Systemstatus::GetMediaMonitorStatus(), "media-monitor"=>Application_Model_Systemstatus::GetMediaMonitorStatus(),
"rabbitmq-server"=>Application_Model_Systemstatus::GetRabbitMqStatus() "rabbitmq-server"=>Application_Model_Systemstatus::GetRabbitMqStatus()
); );
if (!isset($_SERVER["AIRTIME_SRV"])){
$services["show-recorder"]=Application_Model_Systemstatus::GetShowRecorderStatus();
}
$partitions = Application_Model_Systemstatus::GetDiskInfo(); $partitions = Application_Model_Systemstatus::GetDiskInfo();
$this->view->status = new StdClass; $this->view->status = new StdClass;