No need to create the flag action since we have already did in get_action()

This commit is contained in:
Hadi Nategh 2014-02-10 14:03:19 +00:00
parent 2f1c2b2fe9
commit dab53cc607

View File

@ -1533,14 +1533,7 @@ unset($query['actions']);
$actionsenabled[$act]=$actions['view']['children'][$act];
break;
case 'flagged':
$actionsenabled[$act]=array(
'group' => ++$group,
'caption' => 'Flagged',
'hint' => 'Flagged / Unflagged',
'icon' => 'unread_flagged_small',
'onExecute' => 'javaScript:app.mail.mail_flag',
);
$actionsenabled[$act]= $actions['mark']['children'][$act];
break;
default:
if (isset($actions[$act])) $actionsenabled[$act]=$actions[$act];