Skip to content

Commit

Permalink
MDL-69521 core: Move all comments in code from 4.4 to 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Sep 8, 2020
1 parent 432b9a9 commit 19070b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/deprecatedlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -3358,7 +3358,7 @@ function user_get_participants($courseid, $groupid = 0, $accesssince, $roleid, $
* Calls {@see core_course_category::make_categories_list()} to build the list.
*
* @deprecated since Moodle 3.10
* @todo This will be finally removed for Moodle 4.4 as part of MDL-69124.
* @todo This will be finally removed for Moodle 4.2 as part of MDL-69124.
* @return array array mapping course category id to the display name
*/
function make_categories_options() {
Expand Down
4 changes: 2 additions & 2 deletions search/classes/manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ public function index($fullindex = false, $timelimit = 0, \progress_trace $progr
// Backward compatibility for engines that don't return a batch count.
[$numrecords, $numdocs, $numdocsignored, $lastindexeddoc, $partial] = $result;
// Deprecated since Moodle 3.10 MDL-68690.
// TODO: MDL-68776 This will be deleted in Moodle 4.4.
// TODO: MDL-68776 This will be deleted in Moodle 4.2.
debugging('engine::add_documents() should return $batches (5-value return is deprecated)',
DEBUG_DEVELOPER);
} else {
Expand Down Expand Up @@ -1362,7 +1362,7 @@ public function index_context($context, $singleareaid = '', $timelimit = 0,
// Backward compatibility for engines that don't return a batch count.
[$numrecords, $numdocs, $numdocsignored, $lastindexeddoc, $partial] = $result;
// Deprecated since Moodle 3.10 MDL-68690.
// TODO: MDL-68776 This will be deleted in Moodle 4.4 (as should the below bit).
// TODO: MDL-68776 This will be deleted in Moodle 4.2 (as should the below bit).
debugging('engine::add_documents() should return $batches (5-value return is deprecated)',
DEBUG_DEVELOPER);
} else {
Expand Down

0 comments on commit 19070b2

Please sign in to comment.