mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 18:08:21 +01:00
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
|
* in future, we can make the notification app able to send mails
|
||||||
* for non-system users, so the else part below could be dropped
|
* 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
|
// send via notification_app
|
||||||
require_once(EGW_INCLUDE_ROOT. '/notifications/inc/class.notification.inc.php');
|
require_once(EGW_INCLUDE_ROOT. '/notifications/inc/class.notification.inc.php');
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user