Fix typo in function call
This commit is contained in:
parent
f39c5fcfe7
commit
3aea64056b
@ -74,7 +74,7 @@ class UserHooks {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function createEmailAccount($user_data) {
|
private function createEmailAccount($user_data) {
|
||||||
$ch = curl_init($this.config->getMailUAPI . 'user');
|
$ch = curl_init($this.config->getMailUAPI() . 'user');
|
||||||
$payload = json_encode($user_data);
|
$payload = json_encode($user_data);
|
||||||
curl_setopt($ch, CURLOPT_POST, 1);
|
curl_setopt($ch, CURLOPT_POST, 1);
|
||||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload );
|
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload );
|
||||||
|
Loading…
Reference in New Issue
Block a user