andre 4 месяцев назад
Родитель
Сommit
cc8809c393
2 измененных файлов с 1 добавлено и 22 удалено
  1. 0 21
      nextCloudEMailAvailable.php
  2. 1 1
      nextCloudUserAvailable.php

+ 0 - 21
nextCloudEMailAvailable.php

@@ -1,8 +1,5 @@
 <?php
 /**
- *
- * 
- * @see https://www.zimbra.com
  * @copyright Copyright (c) Thurdata GmbH 2020
  * @license GPL
  * 
@@ -28,14 +25,6 @@ if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
 $parts = explode("@",$email); 
 $domain = $parts[1];
 
-logModuleCall(
-    'nextcloud',
-    __FUNCTION__,
-    $email,
-    'debug',
-    $domain
-);
-
 if (!strcasecmp($domain,"seecure.ch")) {
     echo "no1";
     exit;
@@ -53,8 +42,6 @@ if (!strcasecmp($domain,"thurbit.ch")) {
     exit;
 }
 
-
-
 $productID = $_GET['pid'];
 
 $accessData = array('nextcloudServer' => '', 'adminUser' => '', 'adminPass' => '');
@@ -109,14 +96,6 @@ if (is_null($response) == true) {
     exit;
 }
 
-logModuleCall(
-    'nextcloud',
-    __FUNCTION__,
-    $email,
-    'debug' . $nextcloudURL,
-    $response
-);
-
 if ($response->ocs->meta->statuscode != '100') {
     echo "no";
 } else { 

+ 1 - 1
nextCloudUserAvailable.php

@@ -27,7 +27,7 @@ if(!preg_match('/^[a-zA-Z0-9\-]+$/', $accountName)) {
 }
 $productID = $_GET['pid'];
 
-$accessData = array('zimbraServer' => '', 'adminUser' => '', 'adminPass' => '');
+$accessData = array('nextcloudServer' => '', 'adminUser' => '', 'adminPass' => '');
 
 $serverGroupIDObj = Capsule::table('tblproducts')
 	->select('servergroup')