mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
switch notification on inbox off (which was the default fallback, when nothing is configured)
This commit is contained in:
parent
84586b196b
commit
0389960e32
@ -769,7 +769,7 @@ class mail_hooks
|
||||
$prefs = new preferences($recipient->account_id);
|
||||
$preferences = $prefs->read();
|
||||
// TODO: no possibility to set that at this time; always use INBOX
|
||||
if (empty($preferences['mail']['notify_folders']))$preferences['mail']['notify_folders']='INBOX';
|
||||
if (empty($preferences['mail']['notify_folders'])) return true;//$preferences['mail']['notify_folders']='INBOX';
|
||||
//error_log(__METHOD__.__LINE__.array2string($preferences['mail']['notify_folders']));
|
||||
if(!isset($preferences['mail']['notify_folders'])||empty($preferences['mail']['notify_folders'])||$preferences['mail']['notify_folders']=='none') {
|
||||
return true; //no pref set for notifying - exit
|
||||
|
Loading…
Reference in New Issue
Block a user