[gosa.git] / gosa-core / plugins / generic / dashBoard / dbChannelStatus / class_dbChannelStatus.inc
diff --git a/gosa-core/plugins/generic/dashBoard/dbChannelStatus/class_dbChannelStatus.inc b/gosa-core/plugins/generic/dashBoard/dbChannelStatus/class_dbChannelStatus.inc
index a990197a8088ef1e816fe8f9d4dbfec0ad4bf355..eec7eb5c7fc3af6c11106858b556c7f5e5f568ea 100644 (file)
function execute()
{
- // Transmit daily statistics to GOsa-Server
- if(isset($_POST['transmitStatistics'])){
-
- // First try to retrieve values via RPC
- if ($this->config->get_cfg_value("core","gosaRpcServer") != ""){
- $tmp = stats::dumpTables();
- $dump = array();
- foreach($tmp as $entry){
- $dump[] = array_values($entry);
- }
-
- $rpc = $this->config->getRpcHandle(
- "http://10.3.64.59:4000",
- "65717fe6-9e3e-11df-b010-5452005f1250",
- "WyukwauWoid2",
- TRUE);
- $rpc->updateInstanceStatus($dump);
- if(!$rpc->success()){
- msg_dialog::display(_("Error"),msgPool::rpcError($rpc->get_error()),ERROR_DIALOG);
- }
- }
- }
-
-
-
$smarty = get_smarty();
-
$channel = array();
$channel[] = array(
'icon' => image('images/true.png'),