mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Infolog: Use infolog owner as sender of notifications
(cherry picked from commit c9c9f28851
)
This commit is contained in:
parent
1bed2d2df6
commit
6993d82abf
@ -323,6 +323,10 @@ class infolog_tracking extends Api\Storage\Tracking
|
|||||||
unset($old); // not used, but required function signature
|
unset($old); // not used, but required function signature
|
||||||
switch($name)
|
switch($name)
|
||||||
{
|
{
|
||||||
|
case 'sender':
|
||||||
|
// Use infolog owner as the notification sender
|
||||||
|
$config = $data['info_owner'];
|
||||||
|
break;
|
||||||
case 'copy': // include the info_cc addresses
|
case 'copy': // include the info_cc addresses
|
||||||
if ($data['info_access'] == 'private') return array(); // no copies for private entries
|
if ($data['info_access'] == 'private') return array(); // no copies for private entries
|
||||||
if ($data['info_cc'])
|
if ($data['info_cc'])
|
||||||
|
Loading…
Reference in New Issue
Block a user