mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Notify linked apps about changes in contact data so linked addresses get displayed with new information
This commit is contained in:
parent
a59d33723c
commit
68a2a3d641
@ -812,6 +812,8 @@ class addressbook_bo extends addressbook_so
|
|||||||
$to_write['location'] = 'editaccountcontact';
|
$to_write['location'] = 'editaccountcontact';
|
||||||
$GLOBALS['egw']->hooks->process($to_write,False,True); // called for every app now, not only enabled ones));
|
$GLOBALS['egw']->hooks->process($to_write,False,True); // called for every app now, not only enabled ones));
|
||||||
}
|
}
|
||||||
|
// Notify linked apps about changes in the contact data
|
||||||
|
egw_link::notify_update('addressbook', $contact['id'], $contact);
|
||||||
|
|
||||||
// Record change history
|
// Record change history
|
||||||
$deleted = ($old['tid'] == addressbook_so::DELETED_TYPE || $contact['tid'] == addressbook_so::DELETED_TYPE);
|
$deleted = ($old['tid'] == addressbook_so::DELETED_TYPE || $contact['tid'] == addressbook_so::DELETED_TYPE);
|
||||||
|
Loading…
Reference in New Issue
Block a user