Moodle

new pageclass instantiated before setting up of debugging

Details

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

Description

if we do $PAGE = new $classname(); before the debugging setup, we will not get any interesting information in case of any problems, moving

Activity

Hide
Petr Škoda (skodak) added a comment -

also we should not pollute global scope with temporary variables in setup.php ==> unset ($classname)

Show
Petr Škoda (skodak) added a comment - also we should not pollute global scope with temporary variables in setup.php ==> unset ($classname)
Hide
Petr Škoda (skodak) added a comment -

done

Show
Petr Škoda (skodak) added a comment - done

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: