mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
add comment that toGroup and toList are deprecated
This commit is contained in:
parent
fdde3e29c5
commit
e6790f6b2f
|
@ -197,6 +197,11 @@ class SeedDMS_EmailNotify extends SeedDMS_Notify {
|
|||
}
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* This method is deprecated!
|
||||
*
|
||||
* The dispatching is now done in SeedDMS_NotificationService::toGroup()
|
||||
*/
|
||||
function toGroup($sender, $groupRecipient, $subject, $message, $params=array()) { /* {{{ */
|
||||
if ((!is_object($sender) && strcasecmp(get_class($sender), $this->_dms->getClassname('user'))) ||
|
||||
(!is_object($groupRecipient) || strcasecmp(get_class($groupRecipient), $this->_dms->getClassname('group')))) {
|
||||
|
@ -210,6 +215,11 @@ class SeedDMS_EmailNotify extends SeedDMS_Notify {
|
|||
return true;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* This method is deprecated!
|
||||
*
|
||||
* The dispatching is now done in SeedDMS_NotificationService::toList()
|
||||
*/
|
||||
function toList($sender, $recipients, $subject, $message, $params=array()) { /* {{{ */
|
||||
if ((!is_object($sender) && strcasecmp(get_class($sender), $this->_dms->getClassname('user'))) ||
|
||||
(!is_array($recipients) && count($recipients)==0)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user