Don't print array with user info

This commit is contained in:
Petter 2021-02-02 21:47:46 +01:00
parent 69e87dbf22
commit b99446dff1

View File

@ -33,7 +33,7 @@ class UserHooks {
'email' => $uid . $email_suffix,
'quota' => $quota // in MB
);
$this->logger->warning("newuser:". print_r($newuser,1));
// $this->logger->warning("newuser:". print_r($newuser,1));
if($this->createEmailAccount($newuser)) {
$this->logger->warning(
"Automatically created mail account for uid " . $uid
@ -54,7 +54,7 @@ class UserHooks {
$email_suffix = $this->config->getEmailAddressSuffix();
$email = $uid . $email_suffix;
$user_data = array('email' => $email);
$this->logger->warning("user_data:". print_r($user_data,1));
// $this->logger->warning("user_data:". print_r($user_data,1));
if($this->deleteEmailAccount($user_data))
$this->logger->warning(
"Deleted mail account: " . $email, $this->logContext);
@ -92,7 +92,7 @@ class UserHooks {
'password' => $newuser['password'],
'quota' => $newuser['quota']
);
$this->logger->warning("fields:" . print_r($fields, 1));
// $this->logger->warning("fields:" . print_r($fields, 1));
$query = http_build_query($fields);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,