Browse Source

debug configOptions

andre 5 years ago
parent
commit
d483ade9ce
1 changed files with 2 additions and 11 deletions
  1. 2 11
      zimbraSingle.inc

+ 2 - 11
zimbraSingle.inc

@@ -407,20 +407,11 @@ function zimbraSingleConfigOptions($params) {
         return false;
     }
     $domainNames = recursiveFindAll($response, 'NAME');
-    $count = 0;
     foreach($domainNames as $domainName) {
-        $count++;
-        $configOptions[$count] = array(
-            "FriendlyName" => $domainName,
-            "Type" => "textarea", # Textarea
-            "Rows" => "1", # Number of Rows
-            "Cols" => "50", # Number of Columns
-            "Default" => $domainName,
-        );
-        $count++;
-        $configOptions[$count] = array(
+        $configOptions[$domainName] = array(
             "FriendlyName" => $domainName,
             "Type" => "yesno",
+            "Description" => "activate to use this maildomain in customer selection",
         );
     }
     return $configOptions;