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:
Eloy Lafuente (stronk7) 2015-07-10 01:59:31 +02:00
parent b164e2ec30
commit 188458a604
9 changed files with 14 additions and 12 deletions

View file

@ -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 '';
}