if ($this->isAdmin() || $this->getUser() == $recipient) {
$authorized = true;
}
- $this->log("authorize '".$this->getUser()."' rcpt '$recipient'", 3);
+ $msg = ($authorized) ? 'authorize' : 'not authorize';
+ $this->log("$msg '".$this->getUser()."' rcpt '$recipient'", 3);
return $authorized;
}