From 3acffaa5bbc4763c54ae560c842ffe0186035537 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Sat, 29 Oct 2011 17:39:40 +1300 Subject: [PATCH] MINOR: Removed use of deprecated FieldSet in favour of FieldList. --- code/model/SiteConfig.php | 2 +- code/reports/Report.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/model/SiteConfig.php b/code/model/SiteConfig.php index 48d158c2..567661e9 100644 --- a/code/model/SiteConfig.php +++ b/code/model/SiteConfig.php @@ -39,7 +39,7 @@ class SiteConfig extends DataObject implements PermissionProvider { * Get the fields that are sent to the CMS. In * your extensions: updateCMSFields($fields) * - * @return Fieldset + * @return FieldList */ function getCMSFields() { Requirements::javascript(CMS_DIR . "/javascript/SitetreeAccess.js"); diff --git a/code/reports/Report.php b/code/reports/Report.php index 42ed52f9..ed466c85 100644 --- a/code/reports/Report.php +++ b/code/reports/Report.php @@ -159,7 +159,7 @@ class SS_Report extends ViewableData { /** * Returns a FieldList with which to create the CMS editing form. - * You can use the extend() method of FieldSet to create customised forms for your other + * You can use the extend() method of FieldList to create customised forms for your other * data objects. * * @uses getReportField() to render a table, or similar field for the report. This