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:
Will Rossiter 2010-12-11 00:45:05 +00:00
parent ae2311bcd6
commit 9f6e3c9162

View File

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