Simplify the quizzes_category_used() function. I was using the $excluded parameter to avoid loops between categories. A->B->A. Think we can assume such loops won't exist, so I've deleted the $excluded use.
Simplify the quizzes_category_used() function.
I was using the $excluded parameter to avoid
loops between categories. A->B->A. Think we can
assume such loops won't exist, so I've deleted
the $excluded use.

Merged from MOODLE_15_STABLE

dilawar/moodle