mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-50049 deprecation: Extra minor fixes.
- complete and cleanup upgrade.txt - replace remaining uses in comments. - fix some incorrect bulk-replacement in previous commit.
This commit is contained in:
parent
b164e2ec30
commit
188458a604
9 changed files with 14 additions and 12 deletions
|
@ -1431,7 +1431,7 @@ class core_course_renderer extends plugin_renderer_base {
|
|||
}
|
||||
$totalcount = $coursecat->get_children_count();
|
||||
if (!$totalcount) {
|
||||
// Note that we call get_child_categories_count() AFTER get_child_categories() to avoid extra DB requests.
|
||||
// Note that we call coursecat::get_children_count() AFTER coursecat::get_children() to avoid extra DB requests.
|
||||
// Categories count is cached during children categories retrieval.
|
||||
return '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue