Code

Updated registrtation process
[gosa.git] / gosa-core / plugins / generic / dashBoard / dbChannelStatus / class_dbChannelStatus.inc
index 86664bbb7dd3d04a32391434767945d3df5509c1..eec7eb5c7fc3af6c11106858b556c7f5e5f568ea 100644 (file)
@@ -20,26 +20,7 @@ class dbChannelStatus extends plugin
 
     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") != ""){
-
-                $dump = stats::dumpTables();
-                $rpc = $this->config->getRpcHandle();
-                $hash = $rpc->updateInstanceStatus($dump);
-                if(!$rpc->success()){
-                    msg_dialog::display(_("Error"),msgPool::rpcError($rpc->get_error()),ERROR_DIALOG);
-                    return("");
-                }
-            }
-        }
-    
-
-
         $smarty = get_smarty();
-
         $channel = array();
         $channel[] = array(
                         'icon' =>  image('images/true.png'),