mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-68612 user: Unified filter deprecations - renderer and renderable
This commit is contained in:
parent
2396e3156f
commit
03cb6064ea
3 changed files with 22 additions and 0 deletions
|
@ -110,6 +110,7 @@ class core_user_renderer extends plugin_renderer_base {
|
|||
|
||||
/**
|
||||
* Renders the unified filter element for the course participants page.
|
||||
* @deprecated since Moodle 3.9 MDL-68612 - Please use participants_filter() instead.
|
||||
*
|
||||
* @param stdClass $course The course object.
|
||||
* @param context $context The context object.
|
||||
|
@ -120,6 +121,8 @@ class core_user_renderer extends plugin_renderer_base {
|
|||
public function unified_filter($course, $context, $filtersapplied, $baseurl = null) {
|
||||
global $CFG, $DB, $USER;
|
||||
|
||||
debugging('core_user_renderer->unified_filter() is deprecated. Please use participants_filter() instead.', DEBUG_DEVELOPER);
|
||||
|
||||
require_once($CFG->dirroot . '/enrol/locallib.php');
|
||||
require_once($CFG->dirroot . '/lib/grouplib.php');
|
||||
$manager = new course_enrolment_manager($this->page, $course);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue