Moodle

Refactor add method args

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Component/s: Libraries
  • Labels:
    None
  • Difficulty:
    Easy
  • Affected Branches:
    MOODLE_20_STABLE

Description

After talking it through with Nico and Martin we've decided to refactor the arguments for the navigation add method.
Internally the order of the arguments made sense, however for outward usability of the navigation API it makes sense to move argument 5 $action up to the second argument.

Activity

Hide
Sam Hemelryk added a comment -

All done sorry for any inconvenience this caused

Show
Sam Hemelryk added a comment - All done sorry for any inconvenience this caused

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: