Issue Details (XML | Word | Printable)

Key: MDL-16226
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Petr Skoda
Reporter: Petr Skoda
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

cm related code improvments and cleanup

Created: 27/Aug/08 07:29 PM   Updated: 27/Aug/08 08:20 PM
Return to search
Component/s: Other
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Petr Skoda
Security Level: None
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
1/ make modulename optional in get_coursemodule_from_id()
2/ add sectionnun to get_coursemodule_from_id() and get_coursemodule_from_insatnce()
3/ remove custom code and hacks for fetching cm (like get_cm() in course/mod.php, modedit, etc.)

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda committed 1 file to 'Moodle CVS' - 27/Aug/08 07:31 PM
MDL-16226 get_coursemodule_xx() improvements
MODIFY lib/datalib.php   Rev. 1.487    (+63 -35 lines)
Petr Skoda made changes - 27/Aug/08 08:20 PM
Field Original Value New Value
Summary cm related code improvmenets and cleanup cm related code improvments and cleanup
Petr Skoda committed 1 file to 'Moodle CVS' - 27/Aug/08 11:11 PM
MDL-16226 coding style improvements, added deleting of module files, improved validation of params
MODIFY course/mod.php   Rev. 1.136    (+68 -79 lines)
Petr Skoda committed 1 file to 'Moodle CVS' - 27/Aug/08 11:47 PM
MDL-16226 coding style improvements, added deleting of module files
MODIFY course/rest.php   Rev. 1.13    (+30 -25 lines)