$settings is not needed

This commit is contained in:
Uwe Steinmann 2016-04-04 16:41:09 +02:00
parent f4b6b9b6e1
commit 369411ec5b

View File

@ -69,7 +69,6 @@ class SeedDMS_EmailNotify extends SeedDMS_Notify {
* @return false or -1 in case of error, otherwise true
*/
function toIndividual($sender, $recipient, $subject, $message, $params=array()) { /* {{{ */
global $settings;
if ($recipient->isDisabled() || $recipient->getEmail()=="") return 0;
if(!is_object($recipient) && strcasecmp(get_class($recipient), "SeedDMS_Core_User")) {