Skip to content

Commit

Permalink
ENH Update code to reflect changes to silverstripe/admin
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Nov 27, 2024
1 parent 683d4ac commit 6b7b5e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/ReportAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ public function providePermissions()
{
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')
)
);
}
Expand Down

0 comments on commit 6b7b5e7

Please sign in to comment.