mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
PATCH: using standard way to refer to classes Group and PermissionRoleCode
This commit is contained in:
parent
fbe0f5a981
commit
65e0233258
@ -31,11 +31,11 @@ class PermissionRole extends DataObject
|
||||
];
|
||||
|
||||
private static $has_many = [
|
||||
"Codes" => "SilverStripe\\Security\\PermissionRoleCode",
|
||||
"Codes" => PermissionRoleCode::class,
|
||||
];
|
||||
|
||||
private static $belongs_many_many = [
|
||||
"Groups" => "SilverStripe\\Security\\Group",
|
||||
"Groups" => Group::class,
|
||||
];
|
||||
|
||||
private static $table_name = "PermissionRole";
|
||||
|
Loading…
Reference in New Issue
Block a user