forked from extern/egroupware
make tracking class aware of possibly missing notification app. if notification app is missing, send a mail, like we did it the old-style before. this behaviour gets changed if notification app is ready for sending notifications to external users.
This commit is contained in:
parent
895dfe26c6
commit
18cfa84d00
@ -377,7 +377,7 @@ class bo_tracking
|
||||
* in future, we can make the notification app able to send mails
|
||||
* for non-system users, so the else part below could be dropped
|
||||
*/
|
||||
if (is_numeric($user_or_lang)) {
|
||||
if (is_numeric($user_or_lang) && $GLOBALS['egw_info']['apps']['notifications']['enabled']) {
|
||||
// send via notification_app
|
||||
require_once(EGW_INCLUDE_ROOT. '/notifications/inc/class.notification.inc.php');
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user