From 2462a9cde9d7ab254c55547af248e6496a9c1e85 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 16 Feb 2010 03:41:33 +0000 Subject: [PATCH] MINOR add the ability to link-check the live table too (from r89473) (from r95310) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99113 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/SideReport.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/code/SideReport.php b/code/SideReport.php index 0bdca8ff..6dbddfc9 100755 --- a/code/SideReport.php +++ b/code/SideReport.php @@ -235,7 +235,7 @@ class SideReport_BrokenLinks extends SS_Report { ), ); } - function parameterFields() { + function getParameterFields() { return new FieldSet( new CheckboxField('OnLive', 'Check live site') ); @@ -272,11 +272,13 @@ class SideReport_BrokenFiles extends SS_Report { ), ); } - function parameterFields() { + + function getParameterFields() { return new FieldSet( new CheckboxField('OnLive', 'Check live site') ); } + } class SideReport_BrokenVirtualPages extends SS_Report { @@ -301,7 +303,8 @@ class SideReport_BrokenVirtualPages extends SS_Report { ), ); } - function parameterFields() { + + function getParameterFields() { return new FieldSet( new CheckboxField('OnLive', 'Check live site') ); @@ -331,7 +334,8 @@ class SideReport_BrokenRedirectorPages extends SS_Report { ), ); } - function parameterFields() { + + function getParameterFields() { return new FieldSet( new CheckboxField('OnLive', 'Check live site') );