Skip to content

Commit

Permalink
Move fix for missing merge into document actions into the right place…
Browse files Browse the repository at this point in the history
…, was affecting regular merge into document actions too
  • Loading branch information
nathangray committed Jun 11, 2019
1 parent c500403 commit f11a6eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions api/src/Contacts/Merge.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,6 @@ public static function document_action($dirs, $group=0, $caption='Insert in docu

protected static function customise_mail_actions(&$action)
{
if ($action['children']['message/rfc822'])
{
// Just email already filtered out
$action['children'] = $action['children']['message/rfc822']['children'];
}
if(strpos($action['egw_open'], 'edit-mail') === 0)
{
unset($action['confirm_multiple']);
Expand Down
5 changes: 5 additions & 0 deletions api/src/Link/Sharing.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ public static function get_actions($appname, $group = 6)
$documents['order'] = 20;

// Mail only
if ($documents['children']['message/rfc822'])
{
// Just email already filtered out
$documents['children'] = $documents['children']['message/rfc822']['children'];
}
foreach($documents['children'] as $key => &$document)
{
if(strpos($document['target'],'compose_') === FALSE)
Expand Down

0 comments on commit f11a6eb

Please sign in to comment.