mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
MDL-71494 mod_feedback: final removal of deprecated constructor param.
This commit is contained in:
parent
206c3a66e7
commit
56cd63a8f9
@ -49,15 +49,10 @@ class summary implements renderable, templatable {
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @todo MDL-71494 Final deprecation of the $extradetails parameter in Moodle 4.3
|
||||
* @param mod_feedback_structure $feedbackstructure
|
||||
* @param int $mygroupid currently selected group
|
||||
* @param bool|null $extradetails Deprecated
|
||||
*/
|
||||
public function __construct($feedbackstructure, $mygroupid = false, $extradetails = null) {
|
||||
if (isset($extradetails)) {
|
||||
debugging('The $extradetails parameter is deprecated.', DEBUG_DEVELOPER);
|
||||
}
|
||||
public function __construct($feedbackstructure, $mygroupid = false) {
|
||||
$this->feedbackstructure = $feedbackstructure;
|
||||
$this->mygroupid = $mygroupid;
|
||||
}
|
||||
|
@ -1,3 +1,10 @@
|
||||
This file describes API changes in /mod/feedback/*
|
||||
Information provided here is intended especially for developers.
|
||||
|
||||
=== 4.3 ===
|
||||
|
||||
* The `$extradetails` parameter of the `\mod_feedback\output\summary` class constructor has been removed
|
||||
|
||||
=== 4.2 ===
|
||||
* The external methods get_items() and get_page_items() now only return the items when the user can access the feedback; if the
|
||||
user can't see them, a warning message will be returned, with the reasons.
|
||||
|
Loading…
x
Reference in New Issue
Block a user