Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.5.2, 2.6
-
Fix Version/s: 2.5.3
-
Component/s: Course
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_25_STABLE, MOODLE_26_STABLE
-
Fixed Branches:MOODLE_25_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-
MDL-42323-master -
Pull Master Diff URL:
Description
When the coursecat class was created as part of MDL-38147 it deprecated the function get_categories(). In the deprecation documentation it said that these would be an equivalent call to return all the categories on the system:
coursecat::get($categoryid)->get_children(array('recursive' => true))
|
coursecat::get(0)->get_children(array('recursive' => true))
|
However, the code for get_children never actually implemented the handling of the 'recursive' option.
EDITED: After discussion (see below) we decided not to re-implement this functionality and change phpdocs to the deprecated function instead
Attachments
Issue Links
- is a regression caused by
-
MDL-38147 Create class coursecat for managing and displaying course categories
-
- Closed
-