Removed item permissions report from report templates

This commit is contained in:
Luis Calvo 2020-12-24 09:06:38 +01:00
parent 91b3aca7cf
commit 97a1020ec2

View File

@ -890,10 +890,12 @@ function reports_get_report_types($template=false, $not_editor=false)
]; ];
} }
$types['permissions_report'] = [ if ($template === false) {
'optgroup' => __('Permissions report'), $types['permissions_report'] = [
'name' => __('Permissions report'), 'optgroup' => __('Permissions report'),
]; 'name' => __('Permissions report'),
];
}
return $types; return $types;
} }