MDL-81155 report_log: Final deprecation for $grouplist

* The grouplist has been introduced in MDL-41465 and is not
 used anymore since the patch in MDL-80565.
This commit is contained in:
Laurent David
2025-02-24 06:50:18 +01:00
parent 7a318d5c85
commit ffdee5e9db
2 changed files with 6 additions and 8 deletions
-8
View File
@@ -96,13 +96,6 @@ class report_log_renderable implements renderable {
/** @var array Index of delegated sections (indexed by component and itemid) */
protected $delegatedbycm;
/**
* @var array group ids
* @deprecated since Moodle 4.4 - please do not use this public property
* @todo MDL-81155 remove this property as it is not used anymore.
*/
public $grouplist;
/** @var bool if the page is activity page */
public $isactivitypage;
@@ -447,7 +440,6 @@ class report_log_renderable implements renderable {
if (!empty($cgroups)) {
$grouplist = array_column($cgroups, 'name', 'id');
}
$this->grouplist = $grouplist; // Keep compatibility with MDL-41465.
return $grouplist;
}