Merge pull request #9591 from sunnysideup/patch-2

PATCH: using standard way to refer to classes Group and PermissionRol…
This commit is contained in:
Robbie Averill 2020-07-13 13:16:17 -07:00 committed by GitHub
commit 886733ea70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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";