mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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 = [
|
private static $has_many = [
|
||||||
"Codes" => "SilverStripe\\Security\\PermissionRoleCode",
|
"Codes" => PermissionRoleCode::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
private static $belongs_many_many = [
|
private static $belongs_many_many = [
|
||||||
"Groups" => "SilverStripe\\Security\\Group",
|
"Groups" => Group::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
private static $table_name = "PermissionRole";
|
private static $table_name = "PermissionRole";
|
||||||
|
Loading…
Reference in New Issue
Block a user