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 7, 2024
1 parent 9fad212 commit 41bf8da
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 @@ -824,10 +824,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 41bf8da

Please sign in to comment.