mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX: Check for SubsiteReportWrapper class, not Subsite, so the CMS still works with older versions of Subsites
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@98257 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
a17feb75fa
commit
06007f4455
@ -54,7 +54,7 @@ HtmlEditorConfig::get('cms')->addButtonsToLine(3, 'tablecontrols');
|
||||
SS_Report::register("SideReport", "SideReport_EmptyPages");
|
||||
SS_Report::register("SideReport", "SideReport_RecentlyEdited");
|
||||
SS_Report::register("SideReport", "SideReport_ToDo");
|
||||
if (class_exists('Subsite')) SS_Report::register('ReportAdmin', 'SubsiteReportWrapper("BrokenLinksReport")',-20);
|
||||
if (class_exists('SubsiteReportWrapper')) SS_Report::register('ReportAdmin', 'SubsiteReportWrapper("BrokenLinksReport")',-20);
|
||||
else SS_Report::register('ReportAdmin', 'BrokenLinksReport',-20);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user