소스 검색

debug double create account

andre 5 년 전
부모
커밋
7727d64965
1개의 변경된 파일1개의 추가작업 그리고 10개의 파일을 삭제
  1. 1 10
      zimbraSingle.inc

+ 1 - 10
zimbraSingle.inc

@@ -129,22 +129,13 @@ function zimbraSingleCreateAccount($userData)
     }
     $attrs['zimbraCOSId'] = $cosID;
     $id = $apiAccountManager->createAccount($account_name, $userData['password'], $attrs);
-
-    logModuleCall(
-        'zimbrasingle',
-        __FUNCTION__,
-        $userData,
-        "debug: account already exist",
-        $id
-        );
-
     if(is_a($id, "Exception")) {
         logModuleCall(
         'zimbrasingle',
         __FUNCTION__,
         $params,
         "Error : account $account_name not created",
-        ""
+        $id
         );
         return false;
     }