mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Removed duplicated SideReport_BrokenLinks class (merge error)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89233 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
34ca1572d3
commit
4347726540
@ -117,25 +117,6 @@ class SideReport_RecentlyEdited extends SideReport {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Content side-report listing pages with broken links
|
||||
* @package cms
|
||||
* @subpackage content
|
||||
*/
|
||||
class SideReport_BrokenLinks extends SideReport {
|
||||
function title() {
|
||||
return _t('SideReport.BROKENLINKS',"Pages with broken links");
|
||||
}
|
||||
function records($params = null) {
|
||||
return DataObject::get("SiteTree", "HasBrokenLink = 1");
|
||||
}
|
||||
function fieldsToShow() {
|
||||
return array(
|
||||
"Title" => array("NestedTitle", array("2")),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class SideReport_ToDo extends SideReport {
|
||||
function title() {
|
||||
return _t('SideReport.TODO',"To do");
|
||||
|
Loading…
Reference in New Issue
Block a user