andre hace 2 años
padre
commit
5dcbaeb8e7
Se han modificado 1 ficheros con 4 adiciones y 19 borrados
  1. 4 19
      kerioEmail_mx.php

+ 4 - 19
kerioEmail_mx.php

@@ -13,27 +13,12 @@ const SPF = 'v=spf1 mx a:mail3.seecure.ch ip4:185.163.51.0/24 ip4:89.35.78.0/23
 
 
 function KerioEmail_ClientAreaCustomButtonArray ($params)
 function KerioEmail_ClientAreaCustomButtonArray ($params)
 {
 {
-    $mxStatus = KerioEmailCheckMX($params);
-    $spfStatus = KerioEmailCheckSPF($params);
-    switch($mxStatus['action']) {
-        case 'set':
-            return array(
-                'MX Info' => 'infoMX',
-                'MX Setzen' => 'setMX',
-            );
-        case 'change':
-            return array(
-                'MX Info' => 'infoMX',
-                'MX Ändern' => 'setMX',
-            );
-        default:
-            return array(
-                'MX Info' => 'infoMX',
-            );
-    }
+    return array(
+        'DNS Settings' => 'DNS',
+    );
 }
 }
 
 
-function KerioEmail_infoMX($params)
+function KerioEmail_DNS($params)
 {
 {
     $mxStatus = KerioEmailCheckMX($params);
     $mxStatus = KerioEmailCheckMX($params);
     return array(
     return array(