Skip to content

Commit 008f710

Browse files
committed
ENH Update code to reflect changes to silverstripe/admin
1 parent ef49479 commit 008f710

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/ReportAdmin.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,10 @@ public function providePermissions()
225225
{
226226
return array(
227227
"CMS_ACCESS_ReportAdmin" => array(
228-
'name' => _t('SilverStripe\\CMS\\Controllers\\CMSMain.ACCESS', "Access to '{title}' section", array(
228+
'name' => _t(LeftAndMain::class . '.ACCESS', "Access to '{title}' section", array(
229229
'title' => static::menu_title()
230230
)),
231-
'category' => _t('SilverStripe\\Security\\Permission.CMS_ACCESS_CATEGORY', 'CMS Access')
231+
'category' => _t(LeftAndMain::class . '.CMS_ACCESS_CATEGORY', 'CMS Access')
232232
)
233233
);
234234
}

0 commit comments

Comments
 (0)