|
|
@@ -164,23 +164,6 @@ class KerioWhmcs extends KerioConnectApi {
|
|
|
return $result;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * Get contact of a user
|
|
|
- *
|
|
|
- * @param string Contact Id
|
|
|
- *
|
|
|
- * @return array contact of user
|
|
|
- */
|
|
|
- public function getContact($id) {
|
|
|
- $method = 'CompanyContacts.getAvailable';
|
|
|
-
|
|
|
- $params = array(
|
|
|
- 'domainId' => $id,
|
|
|
- );
|
|
|
- $result = $this->sendRequest($method, $params);
|
|
|
- return $result;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Get login name by user's Id
|
|
|
*
|