mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX Fixed SS_Report::unregister() parameter naming (fixes #5511, thanks ktauber) (from r103932)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112447 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e4a67dc522
commit
6ff9223210
@ -308,7 +308,7 @@ class SS_Report extends ViewableData {
|
|||||||
/**
|
/**
|
||||||
* Unregister a report, removing it from the list
|
* Unregister a report, removing it from the list
|
||||||
*/
|
*/
|
||||||
static function unregister($list, $identifier) {
|
static function unregister($list, $reportClass) {
|
||||||
unset(self::$registered_reports[$list][$reportClass]);
|
unset(self::$registered_reports[$list][$reportClass]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user