Merge pull request #9591 from sunnysideup/patch-2
PATCH: using standard way to refer to classes Group and PermissionRol…
This commit is contained in:
commit
886733ea70
|
@ -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