mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
ENH Update code to reflect changes to silverstripe/admin
This commit is contained in:
parent
61ecdb74e7
commit
7549076ad8
@ -212,10 +212,10 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider
|
||||
{
|
||||
return array(
|
||||
"CMS_ACCESS_ReportAdmin" => array(
|
||||
'name' => _t('SilverStripe\\CMS\\Controllers\\CMSMain.ACCESS', "Access to '{title}' section", array(
|
||||
'name' => _t(LeftAndMain::class . '.ACCESS', "Access to '{title}' section", array(
|
||||
'title' => static::menu_title()
|
||||
)),
|
||||
'category' => _t('SilverStripe\\Security\\Permission.CMS_ACCESS_CATEGORY', 'CMS Access')
|
||||
'category' => _t(LeftAndMain::class . '.CMS_ACCESS_CATEGORY', 'CMS Access')
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user