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:
Sam Minnee 2009-05-16 06:08:27 +00:00
parent 7d00afce59
commit eb7d4f0118

View File

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