Merge pull request #42 from open-sausages/pulls/4.0/namespace-cms

API Update for SilverStripe\CMS namespace
This commit is contained in:
Hamish Friedlander 2016-08-11 20:44:13 +07:00 committed by GitHub
commit 83c7e9955b

View File

@ -58,7 +58,7 @@ class SS_Report extends ViewableData
* The class of object being managed by this report.
* Set by overriding in your subclass.
*/
protected $dataClass = 'SiteTree';
protected $dataClass = 'SilverStripe\\CMS\\Model\\SiteTree';
/**
* A field that specifies the sort order of this report
@ -74,12 +74,6 @@ class SS_Report extends ViewableData
'SS_Report',
'SS_ReportWrapper',
'SideReportWrapper',
'SideReport_RecentlyEdited', // @deprecated 3.2..4.0
'SideReport_EmptyPages', // @deprecated 3.2..4.0
'SideReport_BrokenVirtualPages', // @deprecated 3.2..4.0
'SideReport_BrokenRedirectorPages', // @deprecated 3.2..4.0
'SideReport_BrokenLinks', // @deprecated 3.2..4.0
'SideReport_BrokenFiles' // @deprecated 3.2..4.0
);
/**