mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 13:06:14 +00:00
do not check for sender in toList() because it is done in toIndividual()
This commit is contained in:
parent
0a6ce976c7
commit
99bc6becb6
|
@ -113,7 +113,6 @@ class SeedDMS_EmailNotify extends SeedDMS_Notify {
|
||||||
$from = $this->from_address;
|
$from = $this->from_address;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$body = '';
|
$body = '';
|
||||||
if(!isset($params['__skip_header__']) || !$params['__skip_header__']) {
|
if(!isset($params['__skip_header__']) || !$params['__skip_header__']) {
|
||||||
if(!isset($params['__header__']))
|
if(!isset($params['__header__']))
|
||||||
|
@ -256,10 +255,12 @@ class SeedDMS_EmailNotify extends SeedDMS_Notify {
|
||||||
* The dispatching is now done in SeedDMS_NotificationService::toList()
|
* The dispatching is now done in SeedDMS_NotificationService::toList()
|
||||||
*/
|
*/
|
||||||
function toList($sender, $recipients, $subject, $message, $params=array()) { /* {{{ */
|
function toList($sender, $recipients, $subject, $message, $params=array()) { /* {{{ */
|
||||||
|
/*
|
||||||
if ((!is_object($sender) && strcasecmp(get_class($sender), $this->_dms->getClassname('user'))) ||
|
if ((!is_object($sender) && strcasecmp(get_class($sender), $this->_dms->getClassname('user'))) ||
|
||||||
(!is_array($recipients) && count($recipients)==0)) {
|
(!is_array($recipients) && count($recipients)==0)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
$ret = true;
|
$ret = true;
|
||||||
foreach ($recipients as $recipient) {
|
foreach ($recipients as $recipient) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user