Drop useless messagelist_actions feature

This commit is contained in:
djmaze 2021-09-17 14:07:52 +02:00
parent 00088ef547
commit fa136cd529
6 changed files with 42 additions and 59 deletions

View file

@ -1905,12 +1905,8 @@ class Actions
$aResult = array();
if ($oConfig->Get('capa', 'messagelist_actions', true)) {
$aResult[] = Enumerations\Capa::MESSAGELIST_ACTIONS;
if ($oConfig->Get('capa', 'dangerous_actions', true)) {
$aResult[] = Enumerations\Capa::DANGEROUS_ACTIONS;
}
if ($oConfig->Get('capa', 'dangerous_actions', true)) {
$aResult[] = Enumerations\Capa::DANGEROUS_ACTIONS;
}
if ($oConfig->Get('capa', 'reload', true)) {

View file

@ -195,7 +195,6 @@ class Application extends \RainLoop\Config\AbstractConfig
'search_adv' => array(true),
'dangerous_actions' => array(true),
'message_actions' => array(true),
'messagelist_actions' => array(true),
'attachments_actions' => array(true)
),

View file

@ -21,7 +21,6 @@ class Capa
const HELP = 'HELP';
const TEMPLATES = 'TEMPLATES';
const MESSAGE_ACTIONS = 'MESSAGE_ACTIONS';
const MESSAGELIST_ACTIONS = 'MESSAGELIST_ACTIONS';
const ATTACHMENTS_ACTIONS = 'ATTACHMENTS_ACTIONS';
const DANGEROUS_ACTIONS = 'DANGEROUS_ACTIONS';
const AUTOLOGOUT = 'AUTOLOGOUT';