mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR: Fixed managed_models error message to reflect that it's public, not protected, now.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77000 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
7d00afce59
commit
eb7d4f0118
@ -213,8 +213,8 @@ abstract class ModelAdmin extends LeftAndMain {
|
||||
if(!count($models)) {
|
||||
user_error(
|
||||
'ModelAdmin::getManagedModels():
|
||||
You need to specify at least one DataObject subclass in protected static $managed_models.
|
||||
Make sure the visibility of your property is set to "protected"',
|
||||
You need to specify at least one DataObject subclass in public static $managed_models.
|
||||
Make sure that this property is defined, and that its visibility is set to "public"',
|
||||
E_USER_ERROR
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user