mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
ENH Use class name instead of self
This commit is contained in:
parent
3e7e8e91c1
commit
5819a3bde4
@ -102,7 +102,7 @@ class Report extends ViewableData
|
||||
* @var array
|
||||
*/
|
||||
private static $excluded_reports = [
|
||||
self::class,
|
||||
Report::class,
|
||||
ReportWrapper::class,
|
||||
SideReportWrapper::class,
|
||||
];
|
||||
@ -275,7 +275,7 @@ class Report extends ViewableData
|
||||
*/
|
||||
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