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 Dec 10, 2024
1 parent 743a10f commit f1a9c08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/Controller/AssetAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -819,10 +819,10 @@ public function providePermissions()
{
return array(
"CMS_ACCESS_AssetAdmin" => 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 f1a9c08

Please sign in to comment.