Moodle

cm related code improvments and cleanup

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Component/s: Other
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE

Description

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.)

Activity

Hide
Petr Škoda (skodak) added a comment -

The cm handling is getting more and more complex, especially the course completion and conditional activities.
I doubt I can solve this alone....

Show
Petr Škoda (skodak) added a comment - The cm handling is getting more and more complex, especially the course completion and conditional activities. I doubt I can solve this alone....

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: