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
1 changed files with 6 additions and 4 deletions

View File

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