Do not add deleted type to Add or change menus

This commit is contained in:
Nathan Gray 2015-12-28 16:42:48 +00:00
parent 28ced69832
commit 66200f722b

View File

@ -1041,6 +1041,8 @@ class infolog_ui
// Types
$types = $this->get_validtypes();
$types_add = array();
// Do not add deleted type to add or change menus
unset($types['delete']);
foreach($types as $type => &$data)
{
if ($type=='email') continue;//requirement by sales that it should not be shown in right - click - action dialog