mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merge branch '5' into 6
This commit is contained in:
commit
36ec299de9
@ -102,7 +102,7 @@ class Report extends ViewableData
|
|||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
private static $excluded_reports = [
|
private static $excluded_reports = [
|
||||||
self::class,
|
Report::class,
|
||||||
ReportWrapper::class,
|
ReportWrapper::class,
|
||||||
SideReportWrapper::class,
|
SideReportWrapper::class,
|
||||||
];
|
];
|
||||||
@ -275,7 +275,7 @@ class Report extends ViewableData
|
|||||||
*/
|
*/
|
||||||
public static function get_excluded_reports()
|
public static function get_excluded_reports()
|
||||||
{
|
{
|
||||||
return (array) self::config()->get('excluded_reports');
|
return (array) Report::config()->get('excluded_reports');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user