Răsfoiți Sursa

add ressources

andre 2 ani în urmă
părinte
comite
f904523da9
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      api/KerioWhmcs.php

+ 2 - 2
api/KerioWhmcs.php

@@ -452,8 +452,8 @@ class KerioWhmcs extends KerioConnectApi {
 				'description' => $attr['description'],
 				'description' => $attr['description'],
 				'type' => $attr['type'],
 				'type' => $attr['type'],
 				'isEnabled' => $attr['status'] === 'active' ? TRUE : FALSE,
 				'isEnabled' => $attr['status'] === 'active' ? TRUE : FALSE,
-				'resourceUsers' => array(array('id' => $domain, 'type' => 'AuthDomainPrincipal')),
-				'manager' => array('id' => $attr['manager'], 'type' => 'UserPrincipal'),
+//				'resourceUsers' => array(array('id' => $domain, 'type' => 'AuthDomainPrincipal')),
+//				'manager' => array('id' => $attr['manager'], 'type' => 'UserPrincipal'),
 				'domainId' => $domain
 				'domainId' => $domain
 			))
 			))
 		);
 		);