mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
API CHANGE Deprecated Member::isInGroup() - use Member::inGroup() instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62846 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
deee0458a2
commit
f79a49fa31
@ -278,7 +278,7 @@ class MemberTableField extends ComplexTableField {
|
|||||||
|
|
||||||
// To Avoid duplication in the Group_Members table if the ComponentSet.php is not modified just uncomment le line below
|
// To Avoid duplication in the Group_Members table if the ComponentSet.php is not modified just uncomment le line below
|
||||||
|
|
||||||
//if( ! $record->isInGroup( $data['ctf']['ID'] ) )
|
//if( ! $record->inGroup( $data['ctf']['ID'] ) )
|
||||||
$record->Groups()->add( $data['ctf']['ID'] );
|
$record->Groups()->add( $data['ctf']['ID'] );
|
||||||
|
|
||||||
$this->sourceItems();
|
$this->sourceItems();
|
||||||
|
Loading…
Reference in New Issue
Block a user