mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Move fix for missing merge into document actions into the right place, was affecting regular merge into document actions too
This commit is contained in:
parent
c500403e63
commit
f11a6eb58d
@ -287,11 +287,6 @@ class Merge extends Api\Storage\Merge
|
||||
|
||||
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']);
|
||||
|
@ -88,6 +88,11 @@ class Sharing extends \EGroupware\Api\Sharing
|
||||
$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)
|
||||
|
Loading…
Reference in New Issue
Block a user