-MDL-38147 deprecated get_children()
-MDL-38147 deprecated get_categories()
-MDL-38147 removed get_db_record() from tests
-MDL-38147 removed coursecat::get_db_record()