Rewrite of add_indented_names() function. Bit longer, but *much* faster for large numbers of categories.
Rewrite of add_indented_names() function.
Bit longer, but *much* faster for large numbers of categories.

dilawar/moodle