Skip to content

Commit

Permalink
MDL-31270 Fix upgraded tool url
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed May 3, 2012
1 parent 85fc0dc commit 2ca5157
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -57,7 +57,7 @@ function __construct($perpage, $rowoffset=0) {
$this->perpage = $perpage;
$this->output = $PAGE->get_renderer('tool_assignmentupgrade');

$this->define_baseurl(new moodle_url($CFG->wwwroot . '/tool/assignmentupgrade/listnotupgraded.php'));
$this->define_baseurl(new moodle_url('/admin/tool/assignmentupgrade/listnotupgraded.php'));

$this->anyupgradableassignments = tool_assignmentupgrade_any_upgradable_assignments();

Expand Down

1 comment on commit 2ca5157

@damyon
Copy link

@damyon damyon commented on 2ca5157 May 3, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Dan - I pulled this fix and then removed the $CFG global from the function and committed that separately

Please sign in to comment.