mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT: added requireDefaultRecords. PATCH via fragarach (#6133)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114810 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ae2311bcd6
commit
9f6e3c9162
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* The member class which represents the users of the system
|
||||
*
|
||||
* @package sapphire
|
||||
* @subpackage security
|
||||
*/
|
||||
@ -134,6 +135,7 @@ class Member extends DataObject {
|
||||
}
|
||||
|
||||
function requireDefaultRecords() {
|
||||
parent::requireDefaultRecords();
|
||||
// Default groups should've been built by Group->requireDefaultRecords() already
|
||||
|
||||
// Find or create ADMIN group
|
||||
@ -1960,5 +1962,4 @@ class Member_DatetimeOptionsetField extends OptionsetField {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user