Moodle

Remove weird globals $day, $mon and $yr

Details

  • Type: Task Task
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.9.5
  • Fix Version/s: None
  • Component/s: Calendar
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

It was proposed by Jerome Mouneyrac, that we take a look at moodle code and remove all the weird global variables.
I am working on this and found some globals in calendar/view.php
There is a patch attached that remove these globals passing them as function parameters.

Issue Links

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: