Просмотр исходного кода

remove zimbra maildomain filter

andre 4 месяцев назад
Родитель
Сommit
191b660627
1 измененных файлов с 0 добавлено и 25 удалено
  1. 0 25
      nextCloudEMailAvailable.php

+ 0 - 25
nextCloudEMailAvailable.php

@@ -22,26 +22,6 @@ if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
     echo "invalid";
     echo "invalid";
     exit;
     exit;
 }
 }
-$parts = explode("@",$email); 
-$domain = $parts[1];
-
-if (!strcasecmp($domain,"seecure.ch")) {
-    echo "no1";
-    exit;
-}
-if (!strcasecmp($domain,"seemail.ch")) {
-    echo "no2";
-    exit;
-}
-if (!strcasecmp($domain,"thurmail.ch")) {
-    echo "no3";
-    exit;
-}
-if (!strcasecmp($domain,"thurbit.ch")) {
-    echo "no4";
-    exit;
-}
-
 $productID = $_GET['pid'];
 $productID = $_GET['pid'];
 
 
 $accessData = array('nextcloudServer' => '', 'adminUser' => '', 'adminPass' => '');
 $accessData = array('nextcloudServer' => '', 'adminUser' => '', 'adminPass' => '');
@@ -108,11 +88,6 @@ if ($response->ocs->meta->statuscode != '100') {
     }
     }
 }
 }
 
 
-
-
-
-
-
 function nextcloud_send($href, $username, $password, $action, $post = array()) {
 function nextcloud_send($href, $username, $password, $action, $post = array()) {
     $postdata = http_build_query($post);
     $postdata = http_build_query($post);
     $ch = curl_init();
     $ch = curl_init();