mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-10 15:30:21 +01:00
changing a bit regarding the logic of the new feature (be notified about own changes)
This commit is contained in:
parent
dd4328a422
commit
57b64adb7a
@ -660,7 +660,9 @@ class calendar_boupdate extends calendar_bo
|
||||
continue; // dont notify rejected participants or groups
|
||||
}
|
||||
|
||||
if($userid != $GLOBALS['egw_info']['user']['account_id'] || $user_prefs['calendar']['receive_own_updates']==1 || $msg_type == MSG_ALARM)
|
||||
if($userid != $GLOBALS['egw_info']['user']['account_id'] ||
|
||||
($userid == $GLOBALS['egw_info']['user']['account_id'] && $user_prefs['calendar']['receive_own_updates']==1) ||
|
||||
$msg_type == MSG_ALARM)
|
||||
{
|
||||
$preferences = CreateObject('phpgwapi.preferences',$userid);
|
||||
$part_prefs = $preferences->read_repository();
|
||||
|
Loading…
Reference in New Issue
Block a user