Moodle

2nd parameter is unnecessary for function admin_externalpage_setup() in admin/uploadpicture.php

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9.3
  • Component/s: Other
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

Line 35

$adminroot = admin_get_root();
admin_externalpage_setup('uploadpictures', $adminroot);

This statements are old style (for Moodle1.8).

Only uploadpicture.php has 2nd parameter, other ones had been corrected before.

Activity

Hide
Petr Škoda (skodak) added a comment -

fixed in cvs, thanks for the report

Show
Petr Škoda (skodak) added a comment - fixed in cvs, thanks for the report

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: