forked from extern/egroupware
changing a bit regarding the logic of the new feature (be notified about own changes)
This commit is contained in:
parent
f093aeff24
commit
a410651f6f
@ -676,7 +676,9 @@ class calendar_boupdate extends calendar_bo
|
|||||||
continue; // dont notify rejected participants or groups
|
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);
|
$preferences = CreateObject('phpgwapi.preferences',$userid);
|
||||||
$part_prefs = $preferences->read_repository();
|
$part_prefs = $preferences->read_repository();
|
||||||
|
Loading…
Reference in New Issue
Block a user