mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
b971932c88
|
@ -88,13 +88,13 @@ class SeedDMS_NotificationService {
|
||||||
if(!$service->toIndividual($sender, $recipient, $subject, $message, $params)) {
|
if(!$service->toIndividual($sender, $recipient, $subject, $message, $params)) {
|
||||||
$error = false;
|
$error = false;
|
||||||
$this->errors[$name] = false;
|
$this->errors[$name] = false;
|
||||||
$this->logger->log('Notification service \''.$name.'\': Sending notification \''.$subject.'\' to user \''.$to.'\' failed.', PEAR_LOG_ERR);
|
$this->logger->log('Notification service \''.$name.'\': Sending notification \''.$subject.'\' to user \''.$to.'\' ('.$recvtype.') failed.', PEAR_LOG_ERR);
|
||||||
} else {
|
} else {
|
||||||
$this->logger->log('Notification service \''.$name.'\': Sending notification \''.$subject.'\' to user \''.$to.'\' successful.', PEAR_LOG_INFO);
|
$this->logger->log('Notification service \''.$name.'\': Sending notification \''.$subject.'\' to user \''.$to.'\' ('.$recvtype.') successful.', PEAR_LOG_INFO);
|
||||||
$this->errors[$name] = true;
|
$this->errors[$name] = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$this->logger->log('Notification service \''.$name.'\': Notification \''.$subject.'\' to user \''.$to.'\' filtered out.', PEAR_LOG_INFO);
|
$this->logger->log('Notification service \''.$name.'\': Notification \''.$subject.'\' to user \''.$to.'\' ('.$recvtype.') filtered out.', PEAR_LOG_INFO);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $error;
|
return $error;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user