Fix error in function call
This commit is contained in:
parent
3aea64056b
commit
aef194c55d
@ -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