Moodle

simplify dealing with headers/footers in admin sections

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.7, 1.8
  • Fix Version/s: 1.9
  • Component/s: Administration
  • Labels:
    None
  • Affected Branches:
    MOODLE_17_STABLE, MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

The problem is in use of $adminroot - its value is the same as global $ADMIN, there is no need to pass it around in function parameters.
Also we could allow using of normal print_footer() because we can detect if we printed special admin header before.

Activity

Hide
Petr Škoda (skodak) added a comment -

fixed in cvs

Show
Petr Škoda (skodak) added a comment - fixed in cvs

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: